diff options
author | Lewis Marshall <lewis@lmars.net> | 2017-07-31 21:58:19 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-07-31 21:58:19 +0800 |
commit | 60c858a5291da6757ca6798178f4e67f77dd4122 (patch) | |
tree | 817e7f5013e0059ec07852c73a61c91dfcf6881e /cmd/swarm/run_test.go | |
parent | e9b850805eebc55ea8486323a1a7861b9b554430 (diff) | |
download | dexon-60c858a5291da6757ca6798178f4e67f77dd4122.tar dexon-60c858a5291da6757ca6798178f4e67f77dd4122.tar.gz dexon-60c858a5291da6757ca6798178f4e67f77dd4122.tar.bz2 dexon-60c858a5291da6757ca6798178f4e67f77dd4122.tar.lz dexon-60c858a5291da6757ca6798178f4e67f77dd4122.tar.xz dexon-60c858a5291da6757ca6798178f4e67f77dd4122.tar.zst dexon-60c858a5291da6757ca6798178f4e67f77dd4122.zip |
swarm/api: make api.NewManifest synchronous (#14880)
Previously, NewManifest was asynchronous so subsequent code which tried
to use the returned manifest could error as the manifest was not yet
persisted.
Diffstat (limited to 'cmd/swarm/run_test.go')
-rw-r--r-- | cmd/swarm/run_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/swarm/run_test.go b/cmd/swarm/run_test.go index 05cbb27f1..aaaf9e1e5 100644 --- a/cmd/swarm/run_test.go +++ b/cmd/swarm/run_test.go @@ -161,6 +161,7 @@ func newTestNode(t *testing.T, dir string) *testNode { conf := &node.Config{ DataDir: dir, IPCPath: "bzzd.ipc", + NoUSB: true, } n, err := node.New(conf) if err != nil { |