Skip to content

Commit

Permalink
cmd/devp2p/internal/ethtest: undo debug-hack (ethereum#28588)
Browse files Browse the repository at this point in the history
cmd/devp2p/internal/ethtest: remove a debug-hack flaw which prevented certain tests from running
  • Loading branch information
holiman authored and Dergarcon committed Jan 31, 2024
1 parent 45d9a5c commit b37829e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/devp2p/internal/ethtest/snap.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func (s *Suite) TestSnapTrieNodes(t *utesting.T) {
common.HexToHash("0xbe3d75a1729be157e79c3b77f00206db4d54e3ea14375a015451c88ec067c790"),
},
},
}[7:] {
} {
tc := tc
if err := s.snapGetTrieNodes(t, &tc); err != nil {
t.Errorf("test %d \n #hashes %x\n root: %#x\n bytes: %d\nfailed: %v", i, len(tc.expHashes), tc.root, tc.nBytes, err)
Expand Down

0 comments on commit b37829e

Please sign in to comment.