mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 17:44:29 +00:00
run
This commit is contained in:
parent
54b4e1b034
commit
6a4bc96c5a
@ -98,12 +98,12 @@ func (mt *MetaTx) Less(than *MetaTx) bool {
|
||||
return mt.SubPool < than.SubPool
|
||||
}
|
||||
// means that strict nonce ordering of transactions from the same sender must be observed.
|
||||
//if mt.Tx.sender != than.Tx.sender {
|
||||
// return bytes.Compare(mt.Tx.sender[:], than.Tx.sender[:]) < 0
|
||||
//}
|
||||
//if mt.Tx.nonce != than.Tx.nonce {
|
||||
// return mt.Tx.nonce < than.Tx.nonce
|
||||
//}
|
||||
if mt.Tx.senderID != than.Tx.senderID {
|
||||
return mt.Tx.senderID < than.Tx.senderID
|
||||
}
|
||||
if mt.Tx.nonce != than.Tx.nonce {
|
||||
return mt.Tx.nonce < than.Tx.nonce
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user