diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-12-09 16:18:44 +0100 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-12-09 16:40:35 +0100 |
commit | 50b044a88e3cfa67e28261333e658f4288d54018 (patch) | |
tree | 961d4e364cb2f245efa7e3fb0f62711b82634c42 | |
parent | 09e60df115f752ed9843d307db88238b7af577bb (diff) |
test: fix test feature_coinstatsindex.py for descriptor wallets
-rwxr-xr-x | test/functional/feature_coinstatsindex.py | 4 | ||||
-rwxr-xr-x | test/functional/interface_bitcoin_cli.py | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/feature_coinstatsindex.py b/test/functional/feature_coinstatsindex.py index 8afd0ff74a..c70f8a83db 100755 --- a/test/functional/feature_coinstatsindex.py +++ b/test/functional/feature_coinstatsindex.py @@ -40,7 +40,9 @@ class CoinStatsIndexTest(BitcoinTestFramework): self.num_nodes = 2 self.supports_cli = False self.extra_args = [ - [], + # Explicitly set the output type in order to have consistent tx vsize / fees + # for both legacy and descriptor wallets (disables the change address type detection algorithm) + ["-addresstype=bech32", "-changetype=bech32"], ["-coinstatsindex"] ] diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py index 2ea9ebfc98..db5564ac50 100755 --- a/test/functional/interface_bitcoin_cli.py +++ b/test/functional/interface_bitcoin_cli.py @@ -140,7 +140,7 @@ class TestBitcoinCli(BitcoinTestFramework): if self.is_specified_wallet_compiled(): self.log.info("Test -getinfo and bitcoin-cli getwalletinfo return expected wallet info") - # Explicitely set the output type in order to have constintent tx vsize / fees + # Explicitly set the output type in order to have consistent tx vsize / fees # for both legacy and descriptor wallets (disables the change address type detection algorithm) self.restart_node(0, extra_args=["-addresstype=bech32", "-changetype=bech32"]) assert_equal(Decimal(cli_get_info['Balance']), BALANCE) |