diff options
| author | Cozz Lovan <[email protected]> | 2014-07-23 14:34:36 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-03-13 11:04:18 +0100 |
| commit | 292623adf59edea52b2927b3d67fd2ff7f997882 (patch) | |
| tree | afec21b4e7ff1c2b551b060f5f435895d43d15d6 /src/rpcclient.cpp | |
| parent | [Qt] Code-movement-only: Format confirmation message in sendcoinsdialog (diff) | |
| download | discoin-292623adf59edea52b2927b3d67fd2ff7f997882.tar.xz discoin-292623adf59edea52b2927b3d67fd2ff7f997882.zip | |
Subtract fee from amount
Fixes #2724 and #1570.
Adds the
automatically-subtract-the-fee-from-the-amount-and-send-whats-left
feature to the GUI and RPC (sendtoaddress,sendmany).
Diffstat (limited to 'src/rpcclient.cpp')
| -rw-r--r-- | src/rpcclient.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index 4e45bc32a..a45ea9839 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -32,6 +32,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "getnetworkhashps", 0 }, { "getnetworkhashps", 1 }, { "sendtoaddress", 1 }, + { "sendtoaddress", 4 }, { "settxfee", 0 }, { "getreceivedbyaddress", 1 }, { "getreceivedbyaccount", 1 }, @@ -59,6 +60,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "listsinceblock", 2 }, { "sendmany", 1 }, { "sendmany", 2 }, + { "sendmany", 4 }, { "addmultisigaddress", 0 }, { "addmultisigaddress", 1 }, { "createmultisig", 0 }, |