ready is for connect
This commit is contained in:
parent
2f4713ebae
commit
7733a9f377
1 changed files with 0 additions and 2 deletions
|
|
@ -315,11 +315,9 @@ export class LiquidityProvider {
|
||||||
}
|
}
|
||||||
this.log("valid beacon received, updating ready state")
|
this.log("valid beacon received, updating ready state")
|
||||||
this.lastSeenBeacon = Date.now()
|
this.lastSeenBeacon = Date.now()
|
||||||
this.ready = true
|
|
||||||
if (beacon.fees) {
|
if (beacon.fees) {
|
||||||
this.feesCache = beacon.fees
|
this.feesCache = beacon.fees
|
||||||
}
|
}
|
||||||
this.queue.forEach(q => q('ready'))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onEvent = async (res: { requestId: string }, fromPub: string) => {
|
onEvent = async (res: { requestId: string }, fromPub: string) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue