diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-05-11 09:34:39 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-05-11 15:27:06 +0200 |
commit | a38783747b1c9a9209f70204639e4efcea4193c6 (patch) | |
tree | c383a466725d99e710f1d46c262ec23342de6c9f /src/wallet/feebumper.h | |
parent | 9b9ca538cdf95c3a16408229772b69b0c956fbc0 (diff) |
Make sure we re-check the conditions of a feebump during commit
Diffstat (limited to 'src/wallet/feebumper.h')
-rw-r--r-- | src/wallet/feebumper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/feebumper.h b/src/wallet/feebumper.h index 681f55e4e5..f40d05da28 100644 --- a/src/wallet/feebumper.h +++ b/src/wallet/feebumper.h @@ -8,6 +8,7 @@ #include <primitives/transaction.h> class CWallet; +class CWalletTx; class uint256; enum class BumpFeeResult @@ -44,6 +45,8 @@ public: bool commit(CWallet *pWalletNonConst); private: + bool preconditionChecks(const CWallet *pWallet, const CWalletTx& wtx); + const uint256 txid; uint256 bumpedTxid; CMutableTransaction mtx; |