rpcclient: Reregister work ntfns on reconnect.
This ensures the rpcclient automatically reregisters for work notifications on reconnect if it had previously registered for them.
This commit is contained in:
parent
3baf1f590c
commit
e2d77e4e7e
@ -298,6 +298,9 @@ func (c *Client) trackRegisteredNtfns(cmd interface{}) {
|
||||
} else {
|
||||
c.ntfnState.notifyNewTx = true
|
||||
}
|
||||
|
||||
case *chainjson.NotifyWorkCmd:
|
||||
c.ntfnState.notifyWork = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user