diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-19 16:53:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 16:53:34 +0800 |
commit | 448935829700500ecf512b9e0a6437cbb63504b3 (patch) | |
tree | 6a9eb7439f2e8caf60000a14215ce92cd078a518 /core/configuration-chain_test.go | |
parent | 3785190d9154acb0492dd22b6d62e953a0bcf453 (diff) | |
download | dexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.gz dexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.tar.zst dexon-consensus-448935829700500ecf512b9e0a6437cbb63504b3.zip |
core: remove round from addDKG fuction (#501)
Diffstat (limited to 'core/configuration-chain_test.go')
-rw-r--r-- | core/configuration-chain_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/configuration-chain_test.go b/core/configuration-chain_test.go index 9de06df..4de0c68 100644 --- a/core/configuration-chain_test.go +++ b/core/configuration-chain_test.go @@ -65,14 +65,14 @@ func newTestCCGlobalReceiver( func (r *testCCGlobalReceiver) ProposeDKGComplaint( complaint *typesDKG.Complaint) { for _, gov := range r.govs { - gov.AddDKGComplaint(complaint.Round, test.CloneDKGComplaint(complaint)) + gov.AddDKGComplaint(test.CloneDKGComplaint(complaint)) } } func (r *testCCGlobalReceiver) ProposeDKGMasterPublicKey( mpk *typesDKG.MasterPublicKey) { for _, gov := range r.govs { - gov.AddDKGMasterPublicKey(mpk.Round, test.CloneDKGMasterPublicKey(mpk)) + gov.AddDKGMasterPublicKey(test.CloneDKGMasterPublicKey(mpk)) } } @@ -103,13 +103,13 @@ func (r *testCCGlobalReceiver) ProposeDKGAntiNackComplaint( func (r *testCCGlobalReceiver) ProposeDKGMPKReady(ready *typesDKG.MPKReady) { for _, gov := range r.govs { - gov.AddDKGMPKReady(ready.Round, test.CloneDKGMPKReady(ready)) + gov.AddDKGMPKReady(test.CloneDKGMPKReady(ready)) } } func (r *testCCGlobalReceiver) ProposeDKGFinalize(final *typesDKG.Finalize) { for _, gov := range r.govs { - gov.AddDKGFinalize(final.Round, test.CloneDKGFinalize(final)) + gov.AddDKGFinalize(test.CloneDKGFinalize(final)) } } |