mirror of
https://github.com/basicswap/basicswap.git
synced 2026-01-28 11:25:10 +01:00
prepare: fix mweb wallet generation (#238)
* prepare: fix mweb wallet generation * Restore interface_type on LTC MWEB and send it through initialiseWallet. --------- Co-authored-by: tecnovert <tecnovert@tecnovert.net>
This commit is contained in:
@@ -137,7 +137,7 @@ class LTCInterfaceMWEB(LTCInterface):
|
||||
self.rpc_wallet("walletpassphrase", [password, 100000000])
|
||||
|
||||
if self.getWalletSeedID() == "Not found":
|
||||
self._sc.initialiseWallet(self.coin_type())
|
||||
self._sc.initialiseWallet(self.interface_type())
|
||||
|
||||
# Workaround to trigger mweb_spk_man->LoadMWEBKeychain()
|
||||
self.rpc("unloadwallet", ["mweb"])
|
||||
|
||||
Reference in New Issue
Block a user