Skip to content

Commit

Permalink
fixup! rpc: add marshal/unmarshal functions for ProofType RPC type
Browse files Browse the repository at this point in the history
  • Loading branch information
ffranr committed Oct 11, 2023
1 parent dbafc97 commit fe4f705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -2549,8 +2549,8 @@ func MarshalUniProofType(
return unirpc.ProofType_PROOF_TYPE_TRANSFER, nil

default:
return unirpc.ProofType_PROOF_TYPE_UNSPECIFIED,
fmt.Errorf("unknown universe proof type: %v", proofType)
return 0, fmt.Errorf("unknown universe proof type: %v",
proofType)
}
}

Expand Down

0 comments on commit fe4f705

Please sign in to comment.