|
|
|
@ -632,7 +632,7 @@ Value sendmany(const Array& params, bool fHelp)
@@ -632,7 +632,7 @@ Value sendmany(const Array& params, bool fHelp)
|
|
|
|
|
{ |
|
|
|
|
CBitcoinAddress address(s.name_); |
|
|
|
|
if (!address.IsValid()) |
|
|
|
|
throw JSONRPCError(-5, string("Invalid Bitcoin address:")+s.name_); |
|
|
|
|
throw JSONRPCError(-5, string("Invalid Bitcoin address: ")+s.name_); |
|
|
|
|
|
|
|
|
|
if (setAddress.count(address)) |
|
|
|
|
throw JSONRPCError(-8, string("Invalid parameter, duplicated address: ")+s.name_); |
|
|
|
|