@@ -41,7 +41,7 @@ func newMsg(pbMsg *pbv1.QBFTMsg, justification []*pbv1.QBFTMsg, values map[[32]b
4141 }
4242 }
4343
44- var justImpls []qbft.Msg [core.Duty , [32 ]byte , proto. Message ]
44+ var justImpls []qbft.Msg [core.Duty , [32 ]byte ]
4545
4646 for _ , j := range justification {
4747 impl , err := newMsg (j , nil , values )
@@ -62,15 +62,15 @@ func newMsg(pbMsg *pbv1.QBFTMsg, justification []*pbv1.QBFTMsg, values map[[32]b
6262 }, nil
6363}
6464
65- // Msg wraps *pbv1.QBFTMsg and justifications and implements qbft.Msg[core.Duty, [32]byte, proto.Message ].
65+ // Msg wraps *pbv1.QBFTMsg and justifications and implements qbft.Msg[core.Duty, [32]byte].
6666type Msg struct {
6767 msg * pbv1.QBFTMsg
6868 valueHash [32 ]byte
6969 preparedValueHash [32 ]byte
7070 values map [[32 ]byte ]* anypb.Any
7171
7272 justificationProtos []* pbv1.QBFTMsg
73- justification []qbft.Msg [core.Duty , [32 ]byte , proto. Message ]
73+ justification []qbft.Msg [core.Duty , [32 ]byte ]
7474}
7575
7676func (m Msg ) Type () qbft.MsgType {
@@ -118,7 +118,7 @@ func (m Msg) PreparedValue() [32]byte {
118118 return m .preparedValueHash
119119}
120120
121- func (m Msg ) Justification () []qbft.Msg [core.Duty , [32 ]byte , proto. Message ] {
121+ func (m Msg ) Justification () []qbft.Msg [core.Duty , [32 ]byte ] {
122122 return m .justification
123123}
124124
@@ -227,4 +227,4 @@ func toHash32(val []byte) ([32]byte, bool) {
227227 return resp , true
228228}
229229
230- var _ qbft.Msg [core.Duty , [32 ]byte , proto. Message ] = Msg {} // Interface assertion
230+ var _ qbft.Msg [core.Duty , [32 ]byte ] = Msg {} // Interface assertion
0 commit comments