diff options
Diffstat (limited to 'core/test/state_test.go')
-rw-r--r-- | core/test/state_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/test/state_test.go b/core/test/state_test.go index ad3d1c4..79a7a85 100644 --- a/core/test/state_test.go +++ b/core/test/state_test.go @@ -66,7 +66,10 @@ func (s *StateTestSuite) newDKGComplaint(round uint64) *typesDKG.Complaint { PrivateShare: *dkg.NewPrivateKey(), }, } - s.Require().NoError(utils.NewSigner(prvKey).SignDKGComplaint(comp)) + signer := utils.NewSigner(prvKey) + s.Require().NoError(signer.SignDKGComplaint(comp)) + s.Require().NoError(signer.SignDKGPrivateShare(&comp.PrivateShare)) + s.Require().False(comp.IsNack()) return comp } |