aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-06-28 16:41:55 -0400
committerAlex Morcos <morcos@chaincode.com>2017-07-14 23:07:18 -0400
commitecd81dfa3cae4cc1ae3638becfbefc76829ada04 (patch)
treea33077879778ef5c84ab332b515d8a440269386e /src/wallet/wallet.h
parent8fdd23a224ba236874ef662c4ca311b002dbcab3 (diff)
downloadbitcoin-ecd81dfa3cae4cc1ae3638becfbefc76829ada04.tar.xz
Make CoinControl a required argument to CreateTransaction
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index e3715cdf37..d8717ea179 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -949,7 +949,7 @@ public:
* @note passing nChangePosInOut as -1 will result in setting a random position
*/
bool CreateTransaction(const std::vector<CRecipient>& vecSend, CWalletTx& wtxNew, CReserveKey& reservekey, CAmount& nFeeRet, int& nChangePosInOut,
- std::string& strFailReason, const CCoinControl *coinControl = NULL, bool sign = true);
+ std::string& strFailReason, const CCoinControl& coin_control, bool sign = true);
bool CommitTransaction(CWalletTx& wtxNew, CReserveKey& reservekey, CConnman* connman, CValidationState& state);
void ListAccountCreditDebit(const std::string& strAccount, std::list<CAccountingEntry>& entries);