Create a tr() descriptor bech32m DescriptorScriptPubKeyMan by default
This commit is contained in:
1 parent
54b3699862
commit
8fb57845ee
13 files changed
+80
-54
No files matched your search
@@ -37,12 +37,12 @@ class WalletDescriptorTest(BitcoinTestFramework):
|
||||
self.log.info("Making a descriptor wallet")
|
||||
self.nodes[0].createwallet(wallet_name="desc1", descriptors=True)
|
||||
|
||||
# A descriptor wallet should have 100 addresses * 3 types = 300 keys
|
||||
# A descriptor wallet should have 100 addresses * 4 types = 400 keys
|
||||
self.log.info("Checking wallet info")
|
||||
wallet_info = self.nodes[0].getwalletinfo()
|
||||
assert_equal(wallet_info['format'], 'sqlite')
|
||||
assert_equal(wallet_info['keypoolsize'], 300)
|
||||
assert_equal(wallet_info['keypoolsize_hd_internal'], 300)
|
||||
assert_equal(wallet_info['keypoolsize'], 400)
|
||||
assert_equal(wallet_info['keypoolsize_hd_internal'], 400)
|
||||
assert 'keypoololdest' not in wallet_info
|
||||
|
||||
# Check that getnewaddress works
|
||||
|
||||
Reference in new issue
Block a user