aboutsummaryrefslogtreecommitdiffstats
path: root/dex/downloader
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-03-21 08:37:33 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-13 18:11:44 +0800
commitd82cacf5ac51ef695b921a9c2683c38c779d1050 (patch)
tree720005698e986d8eba31b0a98960f3efc1760aa6 /dex/downloader
parentba1eb31880ea5fae9a8e99b21ac165360e0ea30e (diff)
downloadgo-tangerine-d82cacf5ac51ef695b921a9c2683c38c779d1050.tar
go-tangerine-d82cacf5ac51ef695b921a9c2683c38c779d1050.tar.gz
go-tangerine-d82cacf5ac51ef695b921a9c2683c38c779d1050.tar.bz2
go-tangerine-d82cacf5ac51ef695b921a9c2683c38c779d1050.tar.lz
go-tangerine-d82cacf5ac51ef695b921a9c2683c38c779d1050.tar.xz
go-tangerine-d82cacf5ac51ef695b921a9c2683c38c779d1050.tar.zst
go-tangerine-d82cacf5ac51ef695b921a9c2683c38c779d1050.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.go6
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)
}