diff --git a/privval/msgs.go b/privval/msgs.go index 4b440e612df..8f53b304539 100644 --- a/privval/msgs.go +++ b/privval/msgs.go @@ -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)) }