mirror of
https://github.com/basicswap/basicswap.git
synced 2024-11-16 15:58:17 +00:00
tests: Fix test_wallet_restore for LTC multiwallet
This commit is contained in:
parent
dbf3f8f034
commit
14577f7741
1 changed files with 3 additions and 3 deletions
|
@ -132,12 +132,12 @@ class Test(TestBase):
|
|||
callbtcnoderpc(2, 'generatetoaddress', [num_blocks, self.btc_addr])
|
||||
|
||||
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)
|
||||
callltcnoderpc(1, 'generatetoaddress', [num_blocks, self.ltc_addr])
|
||||
|
||||
mweb_addr = callltcnoderpc(1, 'getnewaddress', ['mweb_addr', 'mweb'])
|
||||
callltcnoderpc(1, 'sendtoaddress', [mweb_addr, 1])
|
||||
mweb_addr = callltcnoderpc(1, 'getnewaddress', ['mweb_addr', 'mweb'], wallet='mweb')
|
||||
callltcnoderpc(1, 'sendtoaddress', [mweb_addr, 1], wallet='wallet.dat')
|
||||
num_blocks = 69
|
||||
callltcnoderpc(1, 'generatetoaddress', [num_blocks, self.ltc_addr])
|
||||
|
||||
|
|
Loading…
Reference in a new issue