diff options
author | Lewis Marshall <lewis@lmars.net> | 2017-06-06 15:39:10 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-06-06 15:39:10 +0800 |
commit | 1e9f86b49e523b9e0867abf1499de8fca4c7cd8d (patch) | |
tree | 5882161df22d7b56f8952e130df628e0d6d0c6ad /rlp | |
parent | 65ea913e29c2945d6af4f05d9f61db5fbd0dd126 (diff) | |
download | go-tangerine-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar go-tangerine-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.gz go-tangerine-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.bz2 go-tangerine-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.lz go-tangerine-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.xz go-tangerine-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.zst go-tangerine-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.zip |
cmd/swarm: fix error handling in 'swarm up' (#14557)
The error returned by client.Upload was previously being ignored due to becoming
out of scope outside the if statement. This has been fixed by instead defining a
function which returns the hash and error (rather than trying to set the hash in
each branch of the if statement).
Diffstat (limited to 'rlp')
0 files changed, 0 insertions, 0 deletions