mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
parent
d4a6f43ef2
commit
c8f241ce15
3 changed files with 6 additions and 6 deletions
|
|
@ -151,7 +151,7 @@ func (m *lendingtxSortedMap) Remove(nonce uint64) bool {
|
|||
// removed from the list.
|
||||
//
|
||||
// Note, all transactions with nonces lower than start will also be returned to
|
||||
// prevent getting into and invalid state. This is not something that should ever
|
||||
// prevent getting into an invalid state. This is not something that should ever
|
||||
// happen but better to be self correcting than failing!
|
||||
func (m *lendingtxSortedMap) Ready(start uint64) types.LendingTransactions {
|
||||
// Short circuit if no transactions are available
|
||||
|
|
@ -267,7 +267,7 @@ func (l *lendingtxList) Remove(tx *types.LendingTransaction) (bool, types.Lendin
|
|||
// removed from the list.
|
||||
//
|
||||
// Note, all transactions with nonces lower than start will also be returned to
|
||||
// prevent getting into and invalid state. This is not something that should ever
|
||||
// prevent getting into an invalid state. This is not something that should ever
|
||||
// happen but better to be self correcting than failing!
|
||||
func (l *lendingtxList) Ready(start uint64) types.LendingTransactions {
|
||||
return l.txs.Ready(start)
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ func (m *sortedMap) Remove(nonce uint64) bool {
|
|||
// removed from the list.
|
||||
//
|
||||
// Note, all transactions with nonces lower than start will also be returned to
|
||||
// prevent getting into and invalid state. This is not something that should ever
|
||||
// prevent getting into an invalid state. This is not something that should ever
|
||||
// happen but better to be self correcting than failing!
|
||||
func (m *sortedMap) Ready(start uint64) types.Transactions {
|
||||
// Short circuit if no transactions are available
|
||||
|
|
@ -432,7 +432,7 @@ func (l *list) Remove(tx *types.Transaction) (bool, types.Transactions) {
|
|||
// removed from the list.
|
||||
//
|
||||
// Note, all transactions with nonces lower than start will also be returned to
|
||||
// prevent getting into and invalid state. This is not something that should ever
|
||||
// prevent getting into an invalid state. This is not something that should ever
|
||||
// happen but better to be self correcting than failing!
|
||||
func (l *list) Ready(start uint64) types.Transactions {
|
||||
txs := l.txs.Ready(start)
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@ func (m *ordertxSortedMap) Remove(nonce uint64) bool {
|
|||
// removed from the list.
|
||||
//
|
||||
// Note, all transactions with nonces lower than start will also be returned to
|
||||
// prevent getting into and invalid state. This is not something that should ever
|
||||
// prevent getting into an invalid state. This is not something that should ever
|
||||
// happen but better to be self correcting than failing!
|
||||
func (m *ordertxSortedMap) Ready(start uint64) types.OrderTransactions {
|
||||
// Short circuit if no transactions are available
|
||||
|
|
@ -267,7 +267,7 @@ func (l *ordertxList) Remove(tx *types.OrderTransaction) (bool, types.OrderTrans
|
|||
// removed from the list.
|
||||
//
|
||||
// Note, all transactions with nonces lower than start will also be returned to
|
||||
// prevent getting into and invalid state. This is not something that should ever
|
||||
// prevent getting into an invalid state. This is not something that should ever
|
||||
// happen but better to be self correcting than failing!
|
||||
func (l *ordertxList) Ready(start uint64) types.OrderTransactions {
|
||||
return l.txs.Ready(start)
|
||||
|
|
|
|||
Loading…
Reference in a new issue