no, really, get out

This commit is contained in:
Cassandra Heart 2024-11-26 21:05:01 -06:00
parent 6fba1a3cd9
commit 7b2de084fd
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -88,6 +88,7 @@ func (e *DataClockConsensusEngine) validateTxMessage(peerID peer.ID, message *pb
e.stagedTransactionsSet[id] = struct{}{}
e.stagedTransactionsMx.Unlock()
if ok {
e.pubSub.AddPeerScore([]byte(peerID), -1000000)
return p2p.ValidationResultReject
}
if frameNumber+2 < head.FrameNumber {