diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-21 08:37:33 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:05 +0800 |
commit | b728a5f4422408d2c239626a124232a70b81276a (patch) | |
tree | ff42c274c6845284e46949f43a307e0e7a27b0a4 /dex/downloader | |
parent | 7f1dc2ef3d7e82a558f642d0544939066a0768da (diff) | |
download | dexon-b728a5f4422408d2c239626a124232a70b81276a.tar dexon-b728a5f4422408d2c239626a124232a70b81276a.tar.gz dexon-b728a5f4422408d2c239626a124232a70b81276a.tar.bz2 dexon-b728a5f4422408d2c239626a124232a70b81276a.tar.lz dexon-b728a5f4422408d2c239626a124232a70b81276a.tar.xz dexon-b728a5f4422408d2c239626a124232a70b81276a.tar.zst dexon-b728a5f4422408d2c239626a124232a70b81276a.zip |
core/vm: remove round from addDKG functions (#279)
* vendor: sync to latest core
* core/vm: remove addDKG functions
* core: fix conflict
Diffstat (limited to 'dex/downloader')
-rw-r--r-- | dex/downloader/testchain_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dex/downloader/testchain_test.go b/dex/downloader/testchain_test.go index 15528c509..b59a83b2c 100644 --- a/dex/downloader/testchain_test.go +++ b/dex/downloader/testchain_test.go @@ -192,7 +192,7 @@ func (tc *testChain) generate(n int, seed byte, parent *types.Block, nodes *dexc // Add DKG MasterPublicKeys for _, node := range testNodes.Nodes(round + 1) { - data, err := vm.PackAddDKGMasterPublicKey(round+1, node.MasterPublicKey(round+1)) + data, err := vm.PackAddDKGMasterPublicKey(node.MasterPublicKey(round + 1)) if err != nil { panic(err) } @@ -201,7 +201,7 @@ func (tc *testChain) generate(n int, seed byte, parent *types.Block, nodes *dexc case half + 2: // Add DKG MPKReady for _, node := range testNodes.Nodes(round + 1) { - data, err := vm.PackAddDKGMPKReady(round+1, node.DKGMPKReady(round+1)) + data, err := vm.PackAddDKGMPKReady(node.DKGMPKReady(round + 1)) if err != nil { panic(err) } @@ -210,7 +210,7 @@ func (tc *testChain) generate(n int, seed byte, parent *types.Block, nodes *dexc case half + 3: // Add DKG Finalize for _, node := range testNodes.Nodes(round + 1) { - data, err := vm.PackAddDKGFinalize(round+1, node.DKGFinalize(round+1)) + data, err := vm.PackAddDKGFinalize(node.DKGFinalize(round + 1)) if err != nil { panic(err) } |