mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 10:48:11 +01:00
tests: Move test_003_api to test_xmr and run in CI.
This commit is contained in:
@@ -983,7 +983,9 @@ class BasicSwap(BaseApp):
|
||||
thread_func = {
|
||||
Coins.XMR: threadPollXMRChainState,
|
||||
Coins.WOW: threadPollWOWChainState,
|
||||
}.get(c, threadPollChainState) # default case
|
||||
}.get(
|
||||
c, threadPollChainState
|
||||
) # default case
|
||||
|
||||
t = threading.Thread(target=thread_func, args=(self, c))
|
||||
self.threads.append(t)
|
||||
@@ -2613,7 +2615,9 @@ class BasicSwap(BaseApp):
|
||||
_, is_locked = self.getLockedState()
|
||||
if is_locked is False:
|
||||
self.log.warning(
|
||||
"Setting seed id for coin {} from master key.".format(ci.coin_name())
|
||||
"Setting seed id for coin {} from master key.".format(
|
||||
ci.coin_name()
|
||||
)
|
||||
)
|
||||
root_key = self.getWalletKey(c, 1)
|
||||
self.storeSeedIDForCoin(root_key, c)
|
||||
|
||||
Reference in New Issue
Block a user