aboutsummaryrefslogtreecommitdiffstats
path: root/dex/downloader/testchain_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/downloader/testchain_test.go')
-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)
}