Commit ec4dee0f authored by Felix Lange's avatar Felix Lange

cmd/rlpdump: remove extra buffer

parent 04c0f7e1
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment