Page MenuHomePhabricator

test: fix generation of conflicting transactions in chronik_electrum_blockchain.py
ClosedPublic

Authored by PiRK on Wed, Apr 16, 11:37.

Details

Summary

I missed this in D17933. Apply the same solution as D17902: to make a conflicting tx now that MiniWallet is deterministic, we can specify a different target_size.

Also do some minor refactoring to avoid an extra call to self.wallet.create_self_transfer and pad_tx

Test Plan

with chronik compiled, ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable