nigiri icon indicating copy to clipboard operation
nigiri copied to clipboard

How to handle waiting for "ready" after start?

Open futurepaul opened this issue 2 years ago • 3 comments

Was trying to use nigiri in a script and the lightning faucet was failing. Turns out the problem is I was calling nigiri faucet cln 1 too quickly after start, and something wasn't actually ready yet to accomplish that.

Not sure best solution to this. Possibly an endpoint to poll for "ready" before continuing the script? Or perhaps best move is I just poll the relevant components myself and continue once I know they're ready.

futurepaul avatar Apr 22 '22 16:04 futurepaul