aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/feebumper.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-05-11 09:34:39 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2017-05-11 15:27:06 +0200
commita38783747b1c9a9209f70204639e4efcea4193c6 (patch)
treec383a466725d99e710f1d46c262ec23342de6c9f /src/wallet/feebumper.h
parent9b9ca538cdf95c3a16408229772b69b0c956fbc0 (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.h3
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;