Skip to content

Commit

Permalink
fix todo
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Dec 15, 2022
1 parent 0e69a10 commit 4470c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/transaction/transactionSorter.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func SortTransactionsBySenderAndNonceWithFrontRunningProtection(transactions []d
sort.Slice(transactions, sorter)
}

// TODO remove duplicated function when will use the new version of go
// TODO remove duplicated function when will use the version of elrond-go which exports transaction order during processing

// SortTransactionsBySenderAndNonceWithFrontRunningProtectionExtendedTransactions - sorts the transactions by address and randomness source to protect from front running
func SortTransactionsBySenderAndNonceWithFrontRunningProtectionExtendedTransactions(transactions []data.TransactionHandlerWithGasUsedAndFee, hasher hashing.Hasher, randomness []byte) {
Expand Down

0 comments on commit 4470c36

Please sign in to comment.