-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Sometimes on startup (if the UI is accessed early enough) requests seem to slip through to the subservers before they have been initialised/properly started. Here is an example of when Loop has not properly started yet but I have also run into a similar thing for pool. Most of the time, the UI will warn me that the subservers are not yet ready but it seems that there is a race somewhere cause looks like sometimes the request still slips through
2022-09-30 17:53:14.270 [INF] LITD: Handling gRPC web request: /looprpc.SwapClient/Monitor
2022-09-30 17:53:14.297 [INF] LOOPD: Monitor request received
panic: assignment to entry in nil map
goroutine 985 [running]:
github.com/lightninglabs/loop/loopd.(*swapClientServer).Monitor(0xc0001d0128, 0x2294c20?, {0x3667b50, 0xc0026c20b0})
/Users/elle/go/pkg/mod/github.com/lightninglabs/[email protected]/loopd/swapclient_server.go:329 +0x2ad
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working