diff options
author | Felix Lange <fjl@twurst.com> | 2015-01-06 00:42:20 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-01-06 00:42:20 +0800 |
commit | ec4dee0fcd6cd571ffd146cbebb7367e91457a46 (patch) | |
tree | 82b3ee378ec6cf1338204b99535e4a514fa2a690 /cmd/rlpdump/main.go | |
parent | 04c0f7e15c03dc1ff9b809c93a7c55c9b5174db6 (diff) | |
download | dexon-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.go | 3 |
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") |