Skip to content

Commit

Permalink
add signOracleVoteMsg to signer client
Browse files Browse the repository at this point in the history
  • Loading branch information
yan-soon authored and yan-soon committed Jun 27, 2024
1 parent 9387a39 commit 4b72c9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions privval/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ func mustWrapMsg(pb proto.Message) privvalproto.Message {
msg.Sum = &privvalproto.Message_PingRequest{PingRequest: pb}
case *privvalproto.PingResponse:
msg.Sum = &privvalproto.Message_PingResponse{PingResponse: pb}
case *privvalproto.SignOracleVoteRequest:
msg.Sum = &privvalproto.Message_SignOracleVoteRequest{SignOracleVoteRequest: pb}
case *privvalproto.SignedOracleVoteResponse:
msg.Sum = &privvalproto.Message_SignedOracleVoteResponse{SignedOracleVoteResponse: pb}
default:
panic(fmt.Errorf("unknown message type %T", pb))
}
Expand Down

0 comments on commit 4b72c9e

Please sign in to comment.