diff options
author | NicolasDorier <nicolas.dorier@gmail.com> | 2017-04-07 09:57:06 +0000 |
---|---|---|
committer | NicolasDorier <nicolas.dorier@gmail.com> | 2017-04-13 05:30:52 +0000 |
commit | e78bc45810c0834ad47cffcdfb52f0a57bfbba2d (patch) | |
tree | 469be3b6616442acdbb2b8f146e0b14b657d7b4c /src/wallet/feebumper.cpp | |
parent | fd44ac1e8b75f6f83cc0fea20ae721de163ff9cc (diff) |
[Wallet] Decouple CInputCoin from CWalletTx
Diffstat (limited to 'src/wallet/feebumper.cpp')
-rw-r--r-- | src/wallet/feebumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp index 7201d17b07..6b030935f3 100644 --- a/src/wallet/feebumper.cpp +++ b/src/wallet/feebumper.cpp @@ -30,7 +30,7 @@ int64_t CalculateMaximumSignedTxSize(const CTransaction &tx, const CWallet *pWal for (auto& input : tx.vin) { const auto mi = pWallet->mapWallet.find(input.prevout.hash); assert(mi != pWallet->mapWallet.end() && input.prevout.n < mi->second.tx->vout.size()); - vCoins.emplace_back(&(mi->second), input.prevout.n); + vCoins.emplace_back(CInputCoin(&(mi->second), input.prevout.n)); } if (!pWallet->DummySignTx(txNew, vCoins)) { // This should never happen, because IsAllFromMe(ISMINE_SPENDABLE) |