diff options
Diffstat (limited to 'simulation/config/utils.go')
-rw-r--r-- | simulation/config/utils.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/simulation/config/utils.go b/simulation/config/utils.go index 6e9024a..ade7471 100644 --- a/simulation/config/utils.go +++ b/simulation/config/utils.go @@ -37,8 +37,6 @@ func StateChangeTypeFromString(s string) test.StateChangeType { return test.StateChangeMinBlockInterval case "notary_set_size": return test.StateChangeNotarySetSize - case "dkg_set_size": - return test.StateChangeDKGSetSize } panic(fmt.Errorf("unsupported state change type %s", s)) } @@ -48,7 +46,7 @@ func StateChangeTypeFromString(s string) test.StateChangeType { func StateChangeValueFromString( t test.StateChangeType, v string) interface{} { switch t { - case test.StateChangeNotarySetSize, test.StateChangeDKGSetSize: + case test.StateChangeNotarySetSize: ret, err := strconv.ParseUint(v, 10, 32) if err != nil { panic(err) |