mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
adjust validators
This commit is contained in:
parent
4658cc208e
commit
063102eab2
@ -27,7 +27,7 @@ func (e *DataClockConsensusEngine) validateFrameMessage(peerID peer.ID, message
|
||||
if err := proto.Unmarshal(a.Value, frame); err != nil {
|
||||
return p2p.ValidationResultReject
|
||||
}
|
||||
if ts := time.UnixMilli(frame.Timestamp); time.Since(ts) > time.Hour {
|
||||
if ts := time.UnixMilli(frame.Timestamp); time.Since(ts) > 2*time.Minute {
|
||||
return p2p.ValidationResultIgnore
|
||||
}
|
||||
return p2p.ValidationResultAccept
|
||||
|
||||
Loading…
Reference in New Issue
Block a user