diff --git a/core/transaction/transactionSorter.go b/core/transaction/transactionSorter.go index 04bdb59b4..e6448aa2e 100644 --- a/core/transaction/transactionSorter.go +++ b/core/transaction/transactionSorter.go @@ -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) {