diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2017-05-09 15:46:26 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2017-05-09 15:46:26 +0900 |
commit | 5a5e4e9cc19e30186ba0a15a1cf892516d419baf (patch) | |
tree | dd937f14c45ed899f4af1d0c941705e0e10cd38a /src/wallet/feebumper.cpp | |
parent | 6a796b2b53fe542e0f340f250f4f20d69efed8d0 (diff) | |
download | bitcoin-5a5e4e9cc19e30186ba0a15a1cf892516d419baf.tar.xz |
[wallet] Remove CTransaction&() helper conversion operator from wallet implementation.
Diffstat (limited to 'src/wallet/feebumper.cpp')
-rw-r--r-- | src/wallet/feebumper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp index f5b63c1ecd..678342fde4 100644 --- a/src/wallet/feebumper.cpp +++ b/src/wallet/feebumper.cpp @@ -80,7 +80,7 @@ CFeeBumper::CFeeBumper(const CWallet *pWallet, const uint256 txidIn, int newConf return; } - if (!SignalsOptInRBF(wtx)) { + if (!SignalsOptInRBF(*wtx.tx)) { vErrors.push_back("Transaction is not BIP 125 replaceable"); currentResult = BumpFeeResult::WALLET_ERROR; return; @@ -94,7 +94,7 @@ CFeeBumper::CFeeBumper(const CWallet *pWallet, const uint256 txidIn, int newConf // check that original tx consists entirely of our inputs // if not, we can't bump the fee, because the wallet has no way of knowing the value of the other inputs (thus the fee) - if (!pWallet->IsAllFromMe(wtx, ISMINE_SPENDABLE)) { + if (!pWallet->IsAllFromMe(*wtx.tx, ISMINE_SPENDABLE)) { vErrors.push_back("Transaction contains inputs that don't belong to this wallet"); currentResult = BumpFeeResult::WALLET_ERROR; return; |