mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-10 18:25:17 +00:00
fix: self-reported peer info should contain timestamp
This commit is contained in:
parent
fdc1f2553c
commit
52cfe0abb0
@ -253,6 +253,7 @@ func (e *CeremonyDataClockConsensusEngine) Start(
|
|||||||
peerId: e.pubSub.GetPeerID(),
|
peerId: e.pubSub.GetPeerID(),
|
||||||
multiaddr: "",
|
multiaddr: "",
|
||||||
maxFrame: e.frame,
|
maxFrame: e.frame,
|
||||||
|
timestamp: time.Now().UnixMilli(),
|
||||||
}
|
}
|
||||||
deletes := []*peerInfo{}
|
deletes := []*peerInfo{}
|
||||||
for _, v := range e.peerMap {
|
for _, v := range e.peerMap {
|
||||||
|
Loading…
Reference in New Issue
Block a user