aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/rlpdump
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-01-06 20:13:16 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-01-06 20:13:16 +0800
commit3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c (patch)
treecf9e8919920cfc3a3ea776bfd1d04442d05efdaf /cmd/rlpdump
parent117f66e82375b752cc6a9ff22aa0d398ac337bb4 (diff)
parent3caa4ad1baba3019c06733e1a80d78d9a57137bb (diff)
downloaddexon-3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c.tar
dexon-3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c.tar.gz
dexon-3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c.tar.bz2
dexon-3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c.tar.lz
dexon-3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c.tar.xz
dexon-3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c.tar.zst
dexon-3b8725e0f5622733dcb6c3ec142a83ddbb94bd6c.zip
Merge pull request #239 from fjl/grab-bag
Grab bag of fixes
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++ {