fix_: add logs

This commit is contained in:
Andrey Bocharnikov 2024-10-15 15:14:33 +04:00
parent 2dd9cbec78
commit cf501e5c8b
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ func (c *Client) monitorHealth(ctx context.Context, statusCh chan struct{}) {
if c.walletFeed == nil { if c.walletFeed == nil {
return return
} }
// FIXME: remove these excessive logs in future release (2.31+)
c.log.Debug("Sending blockchain health status event", "status", string(encodedMessage))
c.walletFeed.Send(walletevent.Event{ c.walletFeed.Send(walletevent.Event{
Type: EventBlockchainHealthChanged, Type: EventBlockchainHealthChanged,
Message: string(encodedMessage), Message: string(encodedMessage),