Skip to content

Commit

Permalink
Merge pull request #1903 from benbaley/develop
Browse files Browse the repository at this point in the history
fxi eth-issue-24406
  • Loading branch information
benbaley authored Mar 10, 2022
2 parents 9505003 + cdf22f2 commit 17144b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (a Address) MarshalText() ([]byte, error) {
}

func (a Address) MarshalText2() ([]byte, error) {
return hexutil.Bytes(a[:]).MarshalText()
return []byte(a.Hex()), nil
}

// UnmarshalText parses a hash in hex syntax.
Expand Down

0 comments on commit 17144b7

Please sign in to comment.