mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
test: fix wallet_bumpfee.py
This commit is contained in:
parent
282d7bf9b6
commit
0865bc218a
5 changed files with 24 additions and 28 deletions
|
|
@ -309,6 +309,9 @@ Result CreateRateBumpTransaction(CWallet& wallet, const uint256& txid, const CCo
|
|||
}
|
||||
temp_mtx.vout = txouts;
|
||||
temp_mtx.witness.vtxoutwit.clear(); // ELEMENTS
|
||||
for (auto& inwit : temp_mtx.witness.vtxinwit) {
|
||||
inwit.scriptWitness.SetNull();
|
||||
}
|
||||
const int64_t maxTxSize{CalculateMaximumSignedTxSize(CTransaction(temp_mtx), &wallet, &new_coin_control).vsize};
|
||||
Result res = CheckFeeRate(wallet, temp_mtx, *new_coin_control.m_feerate, maxTxSize, old_fee, errors);
|
||||
if (res != Result::OK) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue