mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Merge pull request #287 from thelazier/v0.11.2.x
Update rpcdarksend.cpp
This commit is contained in:
commit
ec1484a99e
@ -52,7 +52,7 @@ Value darksend(const Array& params, bool fHelp)
|
|||||||
|
|
||||||
CBitcoinAddress address(params[0].get_str());
|
CBitcoinAddress address(params[0].get_str());
|
||||||
if (!address.IsValid())
|
if (!address.IsValid())
|
||||||
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid DarkCoin address");
|
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Dash address");
|
||||||
|
|
||||||
// Amount
|
// Amount
|
||||||
int64_t nAmount = AmountFromValue(params[1]);
|
int64_t nAmount = AmountFromValue(params[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user