test: Remove unnecessary block mining from importdescriptors test

This commit is contained in:
Fabian Jahr 2022-06-26 16:34:11 +02:00
parent 34869114a7
commit e3d8d72703
No known key found for this signature in database
GPG key ID: F13D1E9D890798CD

View file

@ -454,7 +454,7 @@ class ImportDescriptorsTest(BitcoinTestFramework):
send_txid = wmulti_priv.sendtoaddress(w0.getnewaddress(), 8)
decoded = wmulti_priv.gettransaction(txid=send_txid, verbose=True)['decoded']
assert_equal(len(decoded['vin'][0]['txinwitness']), 4)
self.generate(self.nodes[0], 6)
self.sync_all()
self.nodes[1].createwallet(wallet_name="wmulti_pub", disable_private_keys=True, blank=True, descriptors=True)
wmulti_pub = self.nodes[1].get_wallet_rpc("wmulti_pub")