diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-07-07 10:17:41 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-07 10:22:58 +0200 |
| commit | bc06e8f402ec1859133a3d79c8946f2ce91e315c (patch) | |
| tree | 23e63158c769d3b7396c5c9df8a47abeac0e5065 /src/rpcwallet.cpp | |
| parent | Merge pull request #4462 (diff) | |
| parent | Rename SendMoneyToDestination to SendMoney. (diff) | |
| download | discoin-bc06e8f402ec1859133a3d79c8946f2ce91e315c.tar.xz discoin-bc06e8f402ec1859133a3d79c8946f2ce91e315c.zip | |
Merge pull request #4463
e832ab7 Rename SendMoneyToDestination to SendMoney. (Daniel Kraft)
Diffstat (limited to 'src/rpcwallet.cpp')
| -rw-r--r-- | src/rpcwallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 38e96133b..639b21f12 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -346,7 +346,7 @@ Value sendtoaddress(const Array& params, bool fHelp) EnsureWalletIsUnlocked(); - string strError = pwalletMain->SendMoneyToDestination(address.Get(), nAmount, wtx); + string strError = pwalletMain->SendMoney(address.Get(), nAmount, wtx); if (strError != "") throw JSONRPCError(RPC_WALLET_ERROR, strError); @@ -786,7 +786,7 @@ Value sendfrom(const Array& params, bool fHelp) throw JSONRPCError(RPC_WALLET_INSUFFICIENT_FUNDS, "Account has insufficient funds"); // Send - string strError = pwalletMain->SendMoneyToDestination(address.Get(), nAmount, wtx); + string strError = pwalletMain->SendMoney(address.Get(), nAmount, wtx); if (strError != "") throw JSONRPCError(RPC_WALLET_ERROR, strError); |