aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'simulation/node.go')
-rw-r--r--simulation/node.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/simulation/node.go b/simulation/node.go
index b90c1f8..a6d5b89 100644
--- a/simulation/node.go
+++ b/simulation/node.go
@@ -111,11 +111,11 @@ MainLoop:
break MainLoop
}
case *types.DKGComplaint:
- n.gov.AddDKGComplaint(val)
+ n.gov.AddDKGComplaint(val.Round, val)
case *types.DKGMasterPublicKey:
- n.gov.AddDKGMasterPublicKey(val)
+ n.gov.AddDKGMasterPublicKey(val.Round, val)
case *types.DKGFinalize:
- n.gov.AddDKGFinalize(val)
+ n.gov.AddDKGFinalize(val.Round, val)
default:
panic(fmt.Errorf("unexpected message from server: %v", val))
}