good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit be87f769 authored by Marius van der Wijden's avatar Marius van der Wijden Committed by GitHub
Browse files

core/types: reduce allocations in GasPriceCmp (#22456)

parent 18267084
No related branches found
No related tags found
No related merge requests found
......@@ -293,7 +293,7 @@ func (tx *Transaction) RawSignatureValues() (v, r, s *big.Int) {
// GasPriceCmp compares the gas prices of two transactions.
func (tx *Transaction) GasPriceCmp(other *Transaction) int {
return tx.inner.gasPrice().Cmp(other.GasPrice())
return tx.inner.gasPrice().Cmp(other.inner.gasPrice())
}
// GasPriceIntCmp compares the gas price of the transaction against the given price.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment