fix: self-reported peer info should contain timestamp

This commit is contained in:
Cassandra Heart 2023-10-26 01:32:57 -05:00
parent fdc1f2553c
commit 52cfe0abb0
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -253,6 +253,7 @@ func (e *CeremonyDataClockConsensusEngine) Start(
peerId: e.pubSub.GetPeerID(),
multiaddr: "",
maxFrame: e.frame,
timestamp: time.Now().UnixMilli(),
}
deletes := []*peerInfo{}
for _, v := range e.peerMap {