mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 14:06:45 +01:00
cmd/rlpdump: remove extra buffer
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
"bytes"
|
||||
"encoding/hex"
|
||||
"flag"
|
||||
@@ -67,7 +66,7 @@ func main() {
|
||||
die(err)
|
||||
}
|
||||
defer fd.Close()
|
||||
r = bufio.NewReader(fd)
|
||||
r = fd
|
||||
|
||||
default:
|
||||
fmt.Fprintln(os.Stderr, "Error: too many arguments")
|
||||
|
||||
Reference in New Issue
Block a user