Skip to content

Commit

Permalink
use tx sig cache in algo_common.go (ethereum#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush authored and avalonche committed Feb 6, 2023
1 parent 7dd1e70 commit a120ef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miner/algo_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func applyTransactionWithBlacklist(signer types.Signer, config *params.ChainConf
return receipt, statedb, err
}

sender, err := signer.Sender(tx)
sender, err := types.Sender(signer, tx)
if err != nil {
return nil, statedb, err
}
Expand Down Expand Up @@ -376,7 +376,7 @@ func (envDiff *environmentDiff) commitPayoutTx(amount *big.Int, sender, receiver
return nil, err
}

txSender, err := signer.Sender(tx)
txSender, err := types.Sender(signer, tx)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a120ef7

Please sign in to comment.