mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +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
|
return mt.SubPool < than.SubPool
|
||||||
}
|
}
|
||||||
// means that strict nonce ordering of transactions from the same sender must be observed.
|
// means that strict nonce ordering of transactions from the same sender must be observed.
|
||||||
//if mt.Tx.sender != than.Tx.sender {
|
if mt.Tx.senderID != than.Tx.senderID {
|
||||||
// return bytes.Compare(mt.Tx.sender[:], than.Tx.sender[:]) < 0
|
return mt.Tx.senderID < than.Tx.senderID
|
||||||
//}
|
}
|
||||||
//if mt.Tx.nonce != than.Tx.nonce {
|
if mt.Tx.nonce != than.Tx.nonce {
|
||||||
// return mt.Tx.nonce < than.Tx.nonce
|
return mt.Tx.nonce < than.Tx.nonce
|
||||||
//}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user