fix wrong chain error message
This commit is contained in:
parent
0c83a066e9
commit
e83df875ad
@ -890,8 +890,8 @@ func (g *GossipSyncer) replyShortChanIDs(query *lnwire.QueryShortChanIDs) error
|
|||||||
// different chain.
|
// different chain.
|
||||||
if g.cfg.chainHash != query.ChainHash {
|
if g.cfg.chainHash != query.ChainHash {
|
||||||
log.Warnf("Remote peer requested QueryShortChanIDs for "+
|
log.Warnf("Remote peer requested QueryShortChanIDs for "+
|
||||||
"chain=%v, we're on chain=%v", g.cfg.chainHash,
|
"chain=%v, we're on chain=%v", query.ChainHash,
|
||||||
query.ChainHash)
|
g.cfg.chainHash)
|
||||||
|
|
||||||
return g.cfg.sendToPeerSync(&lnwire.ReplyShortChanIDsEnd{
|
return g.cfg.sendToPeerSync(&lnwire.ReplyShortChanIDsEnd{
|
||||||
ChainHash: query.ChainHash,
|
ChainHash: query.ChainHash,
|
||||||
|
Loading…
Reference in New Issue
Block a user