Fix issue where z_sendmany is too strict and does not allow integer based amount e.g. 1 which is the same as 1.0
This commit is contained in:
parent
1218603f73
commit
75407c6872
|
@ -3222,8 +3222,6 @@ Value z_sendmany(const Array& params, bool fHelp)
|
|||
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid parameter, expected object");
|
||||
const Object& o = output.get_obj();
|
||||
|
||||
RPCTypeCheck(o, boost::assign::map_list_of("address", str_type)("amount", real_type));
|
||||
|
||||
// sanity check, report error if unknown key-value pairs
|
||||
for (const Pair& p : o) {
|
||||
std::string s = p.name_;
|
||||
|
|
Loading…
Reference in New Issue