bugfix
This commit is contained in:
@@ -162,8 +162,12 @@ export function ensureVault2(chainId, owner, num) {
|
||||
}
|
||||
|
||||
async function doEnsureVault(chainId, owner, num) {
|
||||
socket.emit('ensureVault', chainId, owner, num)
|
||||
await sleep()
|
||||
await _discoverVaults(owner)
|
||||
if( !useStore().vaults[num] ) {
|
||||
console.log(`requesting vault ${owner} ${num}`)
|
||||
socket.emit('ensureVault', chainId, owner, num)
|
||||
}
|
||||
await sleep(5)
|
||||
}
|
||||
|
||||
const ensureVaultRoutine = new SingletonCoroutine(doEnsureVault, 100, false)
|
||||
|
||||
Reference in New Issue
Block a user