Skip to content

Commit

Permalink
refactor: marshall to return address
Browse files Browse the repository at this point in the history
  • Loading branch information
CalicoNino committed Dec 3, 2024
1 parent 20cc19e commit 43578e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/eip55.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewEIP55AddrFromStr(input string) (EIP55Addr, error) {
// Marshal implements the gogo proto custom type interface.
// Ref: https://github.com/cosmos/gogoproto/blob/v1.5.0/custom_types.md
func (h EIP55Addr) Marshal() ([]byte, error) {
return h.Bytes(), nil
return h.Address.Bytes(), nil
}

// MarshalJSON returns the [EIP55Addr] as JSON bytes.
Expand Down

0 comments on commit 43578e2

Please sign in to comment.