aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/rlpdump
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-01-06 17:58:36 +0800
committerFelix Lange <fjl@twurst.com>2015-01-06 19:23:36 +0800
commitfde0ddb324788a51a94bd0f605bb8f935db2f7f4 (patch)
tree65ae1f1510ca188be7209015dd5fca43eb347b1f /cmd/rlpdump
parent117f66e82375b752cc6a9ff22aa0d398ac337bb4 (diff)
downloaddexon-fde0ddb324788a51a94bd0f605bb8f935db2f7f4.tar.gz
dexon-fde0ddb324788a51a94bd0f605bb8f935db2f7f4.tar.zst
dexon-fde0ddb324788a51a94bd0f605bb8f935db2f7f4.zip
cmd/rlpdump: remove stray return
Diffstat (limited to 'cmd/rlpdump')
-rw-r--r--cmd/rlpdump/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go
index 8f1c4a8c2..8567dcff8 100644
--- a/cmd/rlpdump/main.go
+++ b/cmd/rlpdump/main.go
@@ -110,8 +110,7 @@ func dump(s *rlp.Stream, depth int) error {
s.List()
defer s.ListEnd()
if size == 0 {
- fmt.Printf(ws(depth) + "[]")
- return nil
+ fmt.Print(ws(depth) + "[]")
} else {
fmt.Println(ws(depth) + "[")
for i := 0; ; i++ {