Skip to content

Commit

Permalink
summary -> summary.Header
Browse files Browse the repository at this point in the history
Co-authored-by: libotony <[email protected]>
  • Loading branch information
YeahNotSewerSide and libotony authored Nov 29, 2024
1 parent 1f79185 commit fdedf10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/blocks/blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (b *Blocks) handleGetBlock(w http.ResponseWriter, req *http.Request) error
}

if raw == "true" {
rlpEncodedSummary, err := rlp.EncodeToBytes(summary)
rlpEncoded, err := rlp.EncodeToBytes(summary.Header)

Check failure on line 58 in api/blocks/blocks.go

View workflow job for this annotation

GitHub Actions / Run Unit Tests / test_coverage

rlpEncoded declared and not used

Check failure on line 58 in api/blocks/blocks.go

View workflow job for this annotation

GitHub Actions / Run Unit Tests / unit_tests (1.22.x, ubuntu-latest)

rlpEncoded declared and not used
if err != nil {
return err
}
Expand Down

0 comments on commit fdedf10

Please sign in to comment.