Skip to content

Commit

Permalink
Update for go 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Feb 8, 2023
1 parent dfe9f7c commit ded6993
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 135 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/attestantio/go-execution-client

go 1.17
go 1.20

require (
github.com/fatih/color v1.13.0 // indirect
Expand Down
133 changes: 0 additions & 133 deletions jsonrpc/jsonrpc.go

This file was deleted.

2 changes: 1 addition & 1 deletion spec/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (b *Block) UnmarshalJSON(input []byte) error {
}

switch {
case len(data.Withdrawals) > 0:
case data.Withdrawals != nil:
b.Fork = ForkShanghai
b.Shanghai = &ShanghaiBlock{}
err = json.Unmarshal(input, b.Shanghai)
Expand Down

0 comments on commit ded6993

Please sign in to comment.