wallet: Strictly match tx change type to improve privacy

This commit is contained in:
MarcoFalke
2021-12-09 18:28:19 +01:00
parent 8c0bd871fc
commit fada6c65d2
5 changed files with 68 additions and 53 deletions

View File

@ -136,7 +136,7 @@ class WalletHDTest(BitcoinTestFramework):
keypath = self.nodes[1].getaddressinfo(out['scriptPubKey']['address'])['hdkeypath']
if self.options.descriptors:
assert_equal(keypath[0:14], "m/86'/1'/0'/1/")
assert_equal(keypath[0:14], "m/84'/1'/0'/1/")
else:
assert_equal(keypath[0:7], "m/0'/1'")