aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/rlpdump/main.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-01-06 00:42:20 +0800
committerFelix Lange <fjl@twurst.com>2015-01-06 00:42:20 +0800
commitec4dee0fcd6cd571ffd146cbebb7367e91457a46 (patch)
tree82b3ee378ec6cf1338204b99535e4a514fa2a690 /cmd/rlpdump/main.go
parent04c0f7e15c03dc1ff9b809c93a7c55c9b5174db6 (diff)
downloaddexon-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar
dexon-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.gz
dexon-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.bz2
dexon-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.lz
dexon-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.xz
dexon-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.zst
dexon-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.zip
cmd/rlpdump: remove extra buffer
Diffstat (limited to 'cmd/rlpdump/main.go')
-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 2454d2279..4c188e179 100644
--- a/cmd/rlpdump/main.go
+++ b/cmd/rlpdump/main.go
@@ -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")