diff options
author | Lewis Marshall <lewis@lmars.net> | 2017-05-13 08:02:25 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-05-13 08:02:25 +0800 |
commit | b0d0fafd68f526ceed98e59a423b6470f2327a21 (patch) | |
tree | 48e0f7286e0b2811e6e1bc5f319abea82012dcee /cmd/puppeth/module.go | |
parent | 90c7155ef41900babc5fd736224127f048e5c883 (diff) | |
download | go-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.tar go-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.tar.gz go-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.tar.bz2 go-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.tar.lz go-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.tar.xz go-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.tar.zst go-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.zip |
swarm/api: fix error reporting in api.Resolve (#14464)
Previously, resolve errors were being swallowed and the returned error
was a generic "not a content hash" which isn't helpful.
This updates the Resolve function to fail fast rather than only
returning an error at the end, and also adds test coverage.
Diffstat (limited to 'cmd/puppeth/module.go')
0 files changed, 0 insertions, 0 deletions