forked from cerc-io/plugeth
cmd/rlpdump: remove stray return
This commit is contained in:
parent
117f66e823
commit
fde0ddb324
@ -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++ {
|
||||
|
Loading…
Reference in New Issue
Block a user