discovery: fix log for adding new gossip syncers

In this commit, we fix the logging when adding new gossip syncers. The
old log would log the byte array, rather than the byte slice. We fix
this by slicing before logging.
This commit is contained in:
Olaoluwa Osuntokun committed 2018-06-11 22:58:30 -07:00
1 parent 418ecbaa15
commit 1a15924d65
1 file changed
+1 -1
+1 -1
View File
@@ -1233,7 +1233,7 @@ func (d *AuthenticatedGossiper) InitSyncState(syncPeer lnpeer.Peer, recvUpdates
}
log.Infof("Creating new gossipSyncer for peer=%x",
nodeID)
nodeID[:])
syncer := newGossiperSyncer(gossipSyncerCfg{
chainHash: d.cfg.ChainHash,