OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f98f14
)
miss return when error (#1100)
author
broadroad
<tjbroadroad@163.com>
Fri, 29 Jun 2018 03:07:31 +0000
(11:07 +0800)
committer
Paladz
<yzhu101@uottawa.ca>
Fri, 29 Jun 2018 03:07:31 +0000
(11:07 +0800)
api/block_retrieve.go
patch
|
blob
|
history
diff --git
a/api/block_retrieve.go
b/api/block_retrieve.go
index
e9daea1
..
6532c02
100644
(file)
--- a/
api/block_retrieve.go
+++ b/
api/block_retrieve.go
@@
-105,7
+105,7
@@
func (a *API) getBlock(ins BlockReq) Response {
}
tx.StatusFail, err = txStatus.GetStatus(i)
if err != nil {
- NewSuccessResponse(resp)
+
return
NewSuccessResponse(resp)
}
resOutID := orig.ResultIds[0]