tests: Fix test_wallet_restore for LTC multiwallet

2024-05-20_merge
tecnovert 11 months ago
parent dbf3f8f034
commit 14577f7741
  1. 6
      tests/basicswap/extended/test_wallet_restore.py

@ -132,12 +132,12 @@ class Test(TestBase):
callbtcnoderpc(2, 'generatetoaddress', [num_blocks, self.btc_addr]) callbtcnoderpc(2, 'generatetoaddress', [num_blocks, self.btc_addr])
num_blocks = 431 num_blocks = 431
self.ltc_addr = callltcnoderpc(1, 'getnewaddress', ['mining_addr', 'bech32']) self.ltc_addr = callltcnoderpc(1, 'getnewaddress', ['mining_addr', 'bech32'], wallet='wallet.dat')
logging.info('Mining %d Litecoin blocks to %s', num_blocks, self.ltc_addr) logging.info('Mining %d Litecoin blocks to %s', num_blocks, self.ltc_addr)
callltcnoderpc(1, 'generatetoaddress', [num_blocks, self.ltc_addr]) callltcnoderpc(1, 'generatetoaddress', [num_blocks, self.ltc_addr])
mweb_addr = callltcnoderpc(1, 'getnewaddress', ['mweb_addr', 'mweb']) mweb_addr = callltcnoderpc(1, 'getnewaddress', ['mweb_addr', 'mweb'], wallet='mweb')
callltcnoderpc(1, 'sendtoaddress', [mweb_addr, 1]) callltcnoderpc(1, 'sendtoaddress', [mweb_addr, 1], wallet='wallet.dat')
num_blocks = 69 num_blocks = 69
callltcnoderpc(1, 'generatetoaddress', [num_blocks, self.ltc_addr]) callltcnoderpc(1, 'generatetoaddress', [num_blocks, self.ltc_addr])

Loading…
Cancel
Save