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 9cbde01 commit 9efcf6e
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 @@ -597,7 +597,7 @@ func (r *ResignMessage) UnmarshalJSON(data []byte) error {
for i, sp := range resJSON.Proofs {
sig, err := hex.DecodeString(sp.Signature)
if err != nil {
return fmt.Errorf("cant decode hex at proof signature %s", err.Error())
return fmt.Errorf("cant decode hex at proof signature %w", err)
}
r.Proofs[i] = &spec.SignedProof{
Proof: &sp.Proof.Proof,
Expand Down

0 comments on commit 9efcf6e

Please sign in to comment.