mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-24 23:55:18 +00:00
fix: use multiaddr of reporting peer id
This commit is contained in:
parent
f2ad38da05
commit
a19d1490ea
@ -225,7 +225,7 @@ func (e *CeremonyDataClockConsensusEngine) handleCeremonyPeerListAnnounce(
|
||||
}
|
||||
}
|
||||
|
||||
multiaddr := e.pubSub.GetMultiaddrOfPeer(peerID)
|
||||
multiaddr := e.pubSub.GetMultiaddrOfPeer(p.PeerId)
|
||||
|
||||
e.pubSub.SetPeerScore(p.PeerId, 10)
|
||||
existing, ok := e.peerMap[string(p.PeerId)]
|
||||
|
Loading…
Reference in New Issue
Block a user