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 67a8935 commit 07866b0
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 @@ -669,7 +669,7 @@ func (r *ReshareMessage) UnmarshalJSON(data []byte) error {
copy(r.Reshare.Fork[:], fork)
withdrawalCredentials, err := hex.DecodeString(resJSON.Reshare.WithdrawalCredentials)
if err != nil {
return fmt.Errorf("invalid withdrawal credentials %s", err.Error())
return fmt.Errorf("invalid withdrawal credentials %w", err)
}
r.Reshare.WithdrawalCredentials = withdrawalCredentials
owner, err := hex.DecodeString(resJSON.Reshare.Owner)
Expand Down

0 comments on commit 07866b0

Please sign in to comment.