Buch of lint fixes

This commit is contained in:
Łukasz Magiera
2019-12-02 13:51:16 +01:00
parent e239fe41d4
commit d5b94884c8
9 changed files with 27 additions and 32 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ import (
)
func init() {
logging.SetLogLevel("*", "INFO")
_ = logging.SetLogLevel("*", "INFO")
}
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 {
@@ -121,7 +121,7 @@ func testStorageNode(ctx context.Context, t *testing.T, waddr address.Address, a
}
}
return test.TestStorageNode{minerapi, mineOne}
return test.TestStorageNode{StorageMiner: minerapi, MineOne: mineOne}
}
func builder(t *testing.T, nFull int, storage []int) ([]test.TestNode, []test.TestStorageNode) {