Skip to content

Commit e5b3c5d

Browse files
ARR4Nqdm12
andauthored
Apply suggestions from code review
Co-authored-by: Quentin McGaw <[email protected]> Signed-off-by: Arran Schlosberg <[email protected]>
1 parent 1e49ad6 commit e5b3c5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/types/block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ type Block struct {
212212
ReceivedAt time.Time
213213
ReceivedFrom interface{}
214214

215-
extra *pseudo.Type // See RegisterExtras()
215+
extra *pseudo.Type // See [RegisterExtras]
216216
}
217217

218218
// "external" block encoding. used for eth protocol, etc.

core/types/block.libevm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func TestBlockWithX(t *testing.T) {
249249
case "WithWithdrawals":
250250
newBlock = block.WithWithdrawals(nil)
251251
default:
252-
t.Fatal("method call not implemented")
252+
t.Fatalf("method call not implemented: %s", method)
253253
}
254254

255255
payload.x++

0 commit comments

Comments
 (0)