Skip to content

Commit 50b044a

Browse files
committed
test: fix test feature_coinstatsindex.py for descriptor wallets
1 parent 09e60df commit 50b044a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/functional/feature_coinstatsindex.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ def set_test_params(self):
4040
self.num_nodes = 2
4141
self.supports_cli = False
4242
self.extra_args = [
43-
[],
43+
# Explicitly set the output type in order to have consistent tx vsize / fees
44+
# for both legacy and descriptor wallets (disables the change address type detection algorithm)
45+
["-addresstype=bech32", "-changetype=bech32"],
4446
["-coinstatsindex"]
4547
]
4648

test/functional/interface_bitcoin_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def run_test(self):
140140

141141
if self.is_specified_wallet_compiled():
142142
self.log.info("Test -getinfo and bitcoin-cli getwalletinfo return expected wallet info")
143-
# Explicitely set the output type in order to have constintent tx vsize / fees
143+
# Explicitly set the output type in order to have consistent tx vsize / fees
144144
# for both legacy and descriptor wallets (disables the change address type detection algorithm)
145145
self.restart_node(0, extra_args=["-addresstype=bech32", "-changetype=bech32"])
146146
assert_equal(Decimal(cli_get_info['Balance']), BALANCE)

0 commit comments

Comments
 (0)