Skip to content

Commit

Permalink
Update pkgs/wire/types_json.go
Browse files Browse the repository at this point in the history
Co-authored-by: Matus Kysel <[email protected]>
  • Loading branch information
pavelkrolevets and MatusKysel authored Oct 10, 2024
1 parent f5c95af commit 9cbde01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/wire/types_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ func (r *ResignMessage) UnmarshalJSON(data []byte) error {
r.Resign.WithdrawalCredentials = withdrawalCredentials
owner, err := hex.DecodeString(resJSON.Resign.Owner)
if err != nil {
return fmt.Errorf("invalid owner %s", err.Error())
return fmt.Errorf("invalid owner %w", err)
}
copy(r.Resign.Owner[:], owner)
r.Resign.Nonce = resJSON.Resign.Nonce
Expand Down

0 comments on commit 9cbde01

Please sign in to comment.