diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-10-09 10:04:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 10:04:28 +0800 |
commit | 9267d50de25ddf0f280eee797e2030ea989294e4 (patch) | |
tree | e6345f8b2f04d360a12d7272bf17b137a13eec93 /simulation/node.go | |
parent | 8944f1ea16c531cbccc3f01d91854e942e040871 (diff) | |
download | tangerine-consensus-9267d50de25ddf0f280eee797e2030ea989294e4.tar.gz tangerine-consensus-9267d50de25ddf0f280eee797e2030ea989294e4.tar.zst tangerine-consensus-9267d50de25ddf0f280eee797e2030ea989294e4.zip |
core: Add DKG final message. (#181)
Diffstat (limited to 'simulation/node.go')
-rw-r--r-- | simulation/node.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/simulation/node.go b/simulation/node.go index f2ddd5a..b90c1f8 100644 --- a/simulation/node.go +++ b/simulation/node.go @@ -114,6 +114,8 @@ MainLoop: n.gov.AddDKGComplaint(val) case *types.DKGMasterPublicKey: n.gov.AddDKGMasterPublicKey(val) + case *types.DKGFinalize: + n.gov.AddDKGFinalize(val) default: panic(fmt.Errorf("unexpected message from server: %v", val)) } |