fixup
This commit is contained in:
parent
33e60df301
commit
954ad1f396
@ -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
|
||||
}
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user