aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorDaniel Kraft <[email protected]>2014-07-07 09:34:43 +0200
committerDaniel Kraft <[email protected]>2014-07-07 09:41:33 +0200
commite832ab7754732af7fd46ad7f16eef973e238c357 (patch)
treeb3d38ef8d312cf2404f2952091a104b3de0534de /src/wallet.h
parentMerge pull request #4457 (diff)
downloaddiscoin-e832ab7754732af7fd46ad7f16eef973e238c357.tar.xz
discoin-e832ab7754732af7fd46ad7f16eef973e238c357.zip
Rename SendMoneyToDestination to SendMoney.
Get rid of SendMoney and replace it by the functionality of SendMoneyToDestination. This cleans up the code, since only SendMoneyToDestination was actually used (SendMoney internally from this routine).
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet.h b/src/wallet.h
index a5162bb83..62f13e463 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -265,8 +265,7 @@ public:
bool CreateTransaction(CScript scriptPubKey, int64_t nValue,
CWalletTx& wtxNew, CReserveKey& reservekey, int64_t& nFeeRet, std::string& strFailReason, const CCoinControl *coinControl = NULL);
bool CommitTransaction(CWalletTx& wtxNew, CReserveKey& reservekey);
- std::string SendMoney(CScript scriptPubKey, int64_t nValue, CWalletTx& wtxNew);
- std::string SendMoneyToDestination(const CTxDestination &address, int64_t nValue, CWalletTx& wtxNew);
+ std::string SendMoney(const CTxDestination &address, int64_t nValue, CWalletTx& wtxNew);
static CFeeRate minTxFee;
static int64_t GetMinimumFee(unsigned int nTxBytes, unsigned int nConfirmTarget, const CTxMemPool& pool);