mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 21:16:37 +00:00
cmd/rlpdump: remove stray return
This commit is contained in:
parent
117f66e823
commit
fde0ddb324
1 changed files with 1 additions and 2 deletions
|
|
@ -110,8 +110,7 @@ func dump(s *rlp.Stream, depth int) error {
|
||||||
s.List()
|
s.List()
|
||||||
defer s.ListEnd()
|
defer s.ListEnd()
|
||||||
if size == 0 {
|
if size == 0 {
|
||||||
fmt.Printf(ws(depth) + "[]")
|
fmt.Print(ws(depth) + "[]")
|
||||||
return nil
|
|
||||||
} else {
|
} else {
|
||||||
fmt.Println(ws(depth) + "[")
|
fmt.Println(ws(depth) + "[")
|
||||||
for i := 0; ; i++ {
|
for i := 0; ; i++ {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue