aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/dkg-tsig-protocol_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dkg-tsig-protocol_test.go b/core/dkg-tsig-protocol_test.go
index 63b47ec..19709d3 100644
--- a/core/dkg-tsig-protocol_test.go
+++ b/core/dkg-tsig-protocol_test.go
@@ -313,7 +313,7 @@ func (s *DKGTSIGProtocolTestSuite) TestComplaint() {
Round: round,
})
invalidShare := receivers[byzantineID].prvShare[targetID]
- invalidShare.Signature[1]++
+ invalidShare.ReceiverID = s.nIDs[2]
err = protocol.processPrivateShare(invalidShare)
s.Equal(ErrIncorrectPrivateShareSignature, err)
delete(receivers[byzantineID].prvShare, targetID)