mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-03 16:30:42 +02:00
test: fix test feature_coinstatsindex.py for descriptor wallets
This commit is contained in:
parent
09e60df115
commit
50b044a88e
@ -40,7 +40,9 @@ class CoinStatsIndexTest(BitcoinTestFramework):
|
|||||||
self.num_nodes = 2
|
self.num_nodes = 2
|
||||||
self.supports_cli = False
|
self.supports_cli = False
|
||||||
self.extra_args = [
|
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"]
|
["-coinstatsindex"]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ class TestBitcoinCli(BitcoinTestFramework):
|
|||||||
|
|
||||||
if self.is_specified_wallet_compiled():
|
if self.is_specified_wallet_compiled():
|
||||||
self.log.info("Test -getinfo and bitcoin-cli getwalletinfo return expected wallet info")
|
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)
|
# for both legacy and descriptor wallets (disables the change address type detection algorithm)
|
||||||
self.restart_node(0, extra_args=["-addresstype=bech32", "-changetype=bech32"])
|
self.restart_node(0, extra_args=["-addresstype=bech32", "-changetype=bech32"])
|
||||||
assert_equal(Decimal(cli_get_info['Balance']), BALANCE)
|
assert_equal(Decimal(cli_get_info['Balance']), BALANCE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user