ready is for connect

This commit is contained in:
boufni95 2025-12-19 15:22:26 +00:00
parent 2f4713ebae
commit 7733a9f377

View file

@ -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) => {