mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
core/tracing: remove unnecessary 'copy' field skip in TestAllHooksCalled
This commit is contained in:
parent
b05fe4aa64
commit
6795a75910
1 changed files with 0 additions and 4 deletions
|
|
@ -280,10 +280,6 @@ func TestAllHooksCalled(t *testing.T) {
|
|||
if field.Type.Kind() != reflect.Func {
|
||||
continue
|
||||
}
|
||||
// Skip non-hooks, i.e. Copy
|
||||
if field.Name == "copy" {
|
||||
continue
|
||||
}
|
||||
// Skip if field is not set
|
||||
if wrappedValue.Field(i).IsNil() {
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue