Skip to content

Commit

Permalink
Use signer cache wrapper to get signer
Browse files Browse the repository at this point in the history
  • Loading branch information
HonzaDajc committed Oct 31, 2023
1 parent 95c6da0 commit d6ccc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2282,7 +2282,7 @@ func (api *PublicDebugAPI) traceBlock(ctx context.Context, block *evmcore.EvmBlo
}
// Execute all the transaction contained within the block concurrently
var (
signer = types.MakeSigner(api.b.ChainConfig(), block.Number)
signer = gsignercache.Wrap(types.MakeSigner(api.b.ChainConfig(), block.Number))
txs = block.Transactions
results = make([]*txTraceResult, len(txs))
)
Expand Down

0 comments on commit d6ccc6e

Please sign in to comment.