mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
commit
de363e73ea
@ -632,7 +632,7 @@ Value sendmany(const Array& params, bool fHelp)
|
|||||||
{
|
{
|
||||||
CBitcoinAddress address(s.name_);
|
CBitcoinAddress address(s.name_);
|
||||||
if (!address.IsValid())
|
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))
|
if (setAddress.count(address))
|
||||||
throw JSONRPCError(-8, string("Invalid parameter, duplicated address: ")+s.name_);
|
throw JSONRPCError(-8, string("Invalid parameter, duplicated address: ")+s.name_);
|
||||||
|
Loading…
Reference in New Issue
Block a user