mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
node: fix test
This commit is contained in:
parent
fcb3dd2614
commit
95291aa480
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ func TestLifecycleRegistry_Successful(t *testing.T) {
|
|||
noop := NewNoop()
|
||||
stack.RegisterLifecycle(noop)
|
||||
|
||||
if !slices.Contains(stack.lifecycles, noop) {
|
||||
if !slices.Contains(stack.lifecycles, Lifecycle(noop)) {
|
||||
t.Fatalf("lifecycle was not properly registered on the node, %v", err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue