aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/govtool/main.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/govtool/main.go b/cmd/govtool/main.go
index 239c95003..1425b9faf 100644
--- a/cmd/govtool/main.go
+++ b/cmd/govtool/main.go
@@ -90,6 +90,16 @@ func decodeInput(ctx *cli.Context) error {
utils.Fatalf("%s", err)
}
fmt.Println(finalize)
+ case "addDKGSuccess":
+ var Success []byte
+ if err := method.Inputs.Unpack(&Success, arguments); err != nil {
+ utils.Fatalf("%s", err)
+ }
+ var success dkgTypes.Success
+ if err := rlp.DecodeBytes(Success, &success); err != nil {
+ utils.Fatalf("%s", err)
+ }
+ fmt.Println(success)
case "report":
args := struct {
Type *big.Int