We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4419808 commit 5d10ce3Copy full SHA for 5d10ce3
1 file changed
share/dkg/rabin/dkg.go
@@ -42,7 +42,6 @@ import (
42
"fmt"
43
44
"go.dedis.ch/kyber/v4"
45
- "go.dedis.ch/kyber/v4/internal/protobuf"
46
"go.dedis.ch/kyber/v4/share"
47
vss "go.dedis.ch/kyber/v4/share/vss/rabin"
48
"go.dedis.ch/kyber/v4/sign/schnorr"
@@ -681,7 +680,7 @@ func (cc *ComplaintCommits) Hash(s Suite) []byte {
681
680
_, _ = h.Write([]byte("commitcomplaint"))
682
_ = binary.Write(h, binary.LittleEndian, cc.Index)
683
_ = binary.Write(h, binary.LittleEndian, cc.DealerIndex)
684
- buff, _ := protobuf.Encode(cc.Deal)
+ buff, _ := cc.Deal.Marshal()
685
_, _ = h.Write(buff)
686
return h.Sum(nil)
687
}
0 commit comments