mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex-taker-v2.git
synced 2026-09-21 16:52:01 -07:00
fixing sync conflict
This commit is contained in:
@@ -79,6 +79,10 @@ class AsyncLoad {
|
||||
// Get the BCH balance of the wallet.
|
||||
const bchBalance = await wallet.getBalance({ bchAddress: wallet.walletInfo.cashAddress })
|
||||
|
||||
await wallet.walletInfoPromise
|
||||
await wallet.initialize()
|
||||
// console.log(`mnemonic: ${wallet.walletInfo.mnemonic}`)
|
||||
|
||||
// Update the state of the wallet with the balances
|
||||
updateBchWalletState({ walletObj: { bchBalance }, appData })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user