aboutsummaryrefslogtreecommitdiffstats
path: root/core/configuration-chain_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/configuration-chain_test.go')
-rw-r--r--core/configuration-chain_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/configuration-chain_test.go b/core/configuration-chain_test.go
index 856d46e..4d104ae 100644
--- a/core/configuration-chain_test.go
+++ b/core/configuration-chain_test.go
@@ -69,7 +69,7 @@ func (r *testCCReceiver) ProposeDKGComplaint(complaint *types.DKGComplaint) {
r.s.Require().NoError(err)
complaintCopy := &types.DKGComplaint{}
r.s.Require().NoError(json.Unmarshal(data, complaintCopy))
- gov.AddDKGComplaint(complaintCopy)
+ gov.AddDKGComplaint(complaintCopy.Round, complaintCopy)
}
}
@@ -86,7 +86,7 @@ func (r *testCCReceiver) ProposeDKGMasterPublicKey(
r.s.Require().NoError(err)
mpkCopy := types.NewDKGMasterPublicKey()
r.s.Require().NoError(json.Unmarshal(data, mpkCopy))
- gov.AddDKGMasterPublicKey(mpkCopy)
+ gov.AddDKGMasterPublicKey(mpkCopy.Round, mpkCopy)
}
}
@@ -137,7 +137,7 @@ func (r *testCCReceiver) ProposeDKGFinalize(final *types.DKGFinalize) {
r.s.Require().NoError(err)
finalCopy := &types.DKGFinalize{}
r.s.Require().NoError(json.Unmarshal(data, finalCopy))
- gov.AddDKGFinalize(finalCopy)
+ gov.AddDKGFinalize(finalCopy.Round, finalCopy)
}
}