This commit is contained in:
Anton Evangelatov 2020-06-30 13:31:50 +02:00
parent 33e60df301
commit 954ad1f396
2 changed files with 0 additions and 10 deletions

View File

@ -3,7 +3,6 @@ package main
import (
"context"
"fmt"
"time"
"github.com/filecoin-project/lotus/build"
"github.com/testground/sdk-go/sync"
@ -88,8 +87,6 @@ func runMiner(t *TestEnvironment) error {
mine = false
<-done
time.Sleep(3600 * time.Second)
t.SyncClient.MustSignalAndWait(ctx, stateDone, t.TestInstanceCount)
return nil
}

View File

@ -395,13 +395,6 @@ func prepareMiner(t *TestEnvironment) (*Node, error) {
node.Online(),
node.Repo(nodeRepo),
withGenesis(genesisMsg.Genesis),
//node.Override(node.SetApiEndpointKey, func(lr repo.LockedRepo) error {
//apima, err := multiaddr.NewMultiaddr("/ip4/127.0.0.1/tcp/1235")
//if err != nil {
//return err
//}
//return lr.SetAPIEndpoint(apima)
//}),
withListenAddress(minerIP),
withBootstrapper(genesisMsg.Bootstrapper),
withPubsubConfig(false, pubsubTracer),