From 2eb9e5fde22c94b8688e887a0b70f141656630e0 Mon Sep 17 00:00:00 2001 From: int88 Date: Wed, 8 Jun 2022 11:27:06 +0000 Subject: [PATCH 1/2] core/evm: fix error in comment Signed-off-by: int88 --- core/evm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/evm.go b/core/evm.go index 536ac673e6a6..16e5aac57a78 100644 --- a/core/evm.go +++ b/core/evm.go @@ -31,7 +31,7 @@ type ChainContext interface { // Engine retrieves the chain's consensus engine. Engine() consensus.Engine - // GetHeader returns the hash corresponding to their hash. + // GetHeader returns the header corresponding to their hash. GetHeader(common.Hash, uint64) *types.Header } From 5f89cf37621e0027d30b615e8d802f90f16943a9 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 8 Jun 2022 18:40:14 +0200 Subject: [PATCH 2/2] Update core/evm.go Co-authored-by: Martin Holst Swende --- core/evm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/evm.go b/core/evm.go index 16e5aac57a78..cfaf8a2426f4 100644 --- a/core/evm.go +++ b/core/evm.go @@ -31,7 +31,7 @@ type ChainContext interface { // Engine retrieves the chain's consensus engine. Engine() consensus.Engine - // GetHeader returns the header corresponding to their hash. + // GetHeader returns the header corresponding to the hash/number argument pair. GetHeader(common.Hash, uint64) *types.Header }