From 4b72c9e4c0ccd80c86ad05ee318b75cef41d2304 Mon Sep 17 00:00:00 2001 From: yan-soon Date: Fri, 28 Jun 2024 00:57:16 +0800 Subject: [PATCH] add signOracleVoteMsg to signer client --- privval/msgs.go | 4 ++++ 1 file changed, 4 insertions(+) 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)) }