diff --git a/signer/fourbyte/4byte.go b/signer/fourbyte/4byte.go index 336aa4ca79..2f7b24795c 100644 --- a/signer/fourbyte/4byte.go +++ b/signer/fourbyte/4byte.go @@ -46,6 +46,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } +//nolint:misspell var __4byteJson = []byte(`{ "00000001": "account_info_rotate_tine(uint256)", "00000002": "razor_balance(bool)", diff --git a/signer/fourbyte/fourbyte.go b/signer/fourbyte/fourbyte.go index bbbd95b74d..01988dcab0 100644 --- a/signer/fourbyte/fourbyte.go +++ b/signer/fourbyte/fourbyte.go @@ -16,6 +16,7 @@ //go:generate go-bindata -nometadata -nocompress -o 4byte.go -pkg fourbyte 4byte.json //go:generate gofmt -s -w 4byte.go +//go:generate sh -c "sed 's#var __4byteJson#//nolint:misspell\\\n&#' 4byte.go > 4byte.go.tmp && mv 4byte.go.tmp 4byte.go" // Package fourbyte contains the 4byte database. package fourbyte