Skip to content

Commit

Permalink
fix available coins
Browse files Browse the repository at this point in the history
  • Loading branch information
backpacker69 committed Mar 20, 2019
1 parent 55f4089 commit 0603ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Expand Up @@ -2738,7 +2738,7 @@ bool CWallet::CreateTransaction(const std::vector<CRecipient>& vecSend, CWalletT
LOCK2(cs_main, cs_wallet);
{
std::vector<COutput> vAvailableCoins;
AvailableCoins(vAvailableCoins, true, &coin_control, txNew.nTime);
AvailableCoins(vAvailableCoins, true, &coin_control, 1, MAX_MONEY, MAX_MONEY, 0, 0, 9999999, txNew.nTime);

// Create change script that will be used if we need change
// TODO: pass in scriptChange instead of reservekey so
Expand Down

0 comments on commit 0603ec3

Please sign in to comment.