mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-11 03:53:22 +02:00
wallet: Strictly match tx change type to improve privacy
This commit is contained in:
@@ -108,17 +108,10 @@ class WalletGroupTest(BitcoinTestFramework):
|
||||
assert_equal(input_addrs[0], input_addrs[1])
|
||||
# Node 2 enforces avoidpartialspends so needs no checking here
|
||||
|
||||
if self.options.descriptors:
|
||||
# Descriptor wallets will use Taproot change by default which has different fees
|
||||
tx4_ungrouped_fee = 3060
|
||||
tx4_grouped_fee = 4400
|
||||
tx5_6_ungrouped_fee = 5760
|
||||
tx5_6_grouped_fee = 8480
|
||||
else:
|
||||
tx4_ungrouped_fee = 2820
|
||||
tx4_grouped_fee = 4160
|
||||
tx5_6_ungrouped_fee = 5520
|
||||
tx5_6_grouped_fee = 8240
|
||||
tx4_ungrouped_fee = 2820
|
||||
tx4_grouped_fee = 4160
|
||||
tx5_6_ungrouped_fee = 5520
|
||||
tx5_6_grouped_fee = 8240
|
||||
|
||||
self.log.info("Test wallet option maxapsfee")
|
||||
addr_aps = self.nodes[3].getnewaddress()
|
||||
|
Reference in New Issue
Block a user