diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-15 18:19:46 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | 073064170c874bb19741108d0833b1bf019b439b (patch) | |
tree | 74de9ac95ea36614fe1740a07c4466556582346f /cmd | |
parent | 2f4bfc149062715b712ce6729f2ba100284d9af5 (diff) | |
download | go-tangerine-073064170c874bb19741108d0833b1bf019b439b.tar go-tangerine-073064170c874bb19741108d0833b1bf019b439b.tar.gz go-tangerine-073064170c874bb19741108d0833b1bf019b439b.tar.bz2 go-tangerine-073064170c874bb19741108d0833b1bf019b439b.tar.lz go-tangerine-073064170c874bb19741108d0833b1bf019b439b.tar.xz go-tangerine-073064170c874bb19741108d0833b1bf019b439b.tar.zst go-tangerine-073064170c874bb19741108d0833b1bf019b439b.zip |
core: implement DKG success (#362)
* vendor: sync to latest core
* core: implmenet dkg success
* cmd: govtool: add DKGSuccess
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/govtool/main.go | 10 |
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 |