fix wrong chain error message

This commit is contained in:
Arik Sosman 2019-12-11 17:43:24 -08:00
parent 0c83a066e9
commit e83df875ad
No known key found for this signature in database
GPG Key ID: CFF795E7811C0093

@ -890,8 +890,8 @@ func (g *GossipSyncer) replyShortChanIDs(query *lnwire.QueryShortChanIDs) error
// different chain.
if g.cfg.chainHash != query.ChainHash {
log.Warnf("Remote peer requested QueryShortChanIDs for "+
"chain=%v, we're on chain=%v", g.cfg.chainHash,
query.ChainHash)
"chain=%v, we're on chain=%v", query.ChainHash,
g.cfg.chainHash)
return g.cfg.sendToPeerSync(&lnwire.ReplyShortChanIDsEnd{
ChainHash: query.ChainHash,