fix node_test

This commit is contained in:
Łukasz Magiera 2019-12-03 02:41:31 +01:00
parent 536c9985ab
commit ad27131dcf

View File

@ -4,6 +4,7 @@ import (
"bytes"
"context"
"crypto/rand"
"github.com/filecoin-project/lotus/build"
"io/ioutil"
"net/http/httptest"
"path/filepath"
@ -39,6 +40,8 @@ import (
func init() {
_ = logging.SetLogLevel("*", "INFO")
build.SectorSizes = []uint64{1024}
}
func testStorageNode(ctx context.Context, t *testing.T, waddr address.Address, act address.Address, pk crypto.PrivKey, tnd test.TestNode, mn mocknet.Mocknet) test.TestStorageNode {