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 | |
parent | 04c0f7e15c03dc1ff9b809c93a7c55c9b5174db6 (diff) | |
download | go-tangerine-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar go-tangerine-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.gz go-tangerine-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.bz2 go-tangerine-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.lz go-tangerine-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.xz go-tangerine-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.tar.zst go-tangerine-ec4dee0fcd6cd571ffd146cbebb7367e91457a46.zip |
cmd/rlpdump: remove extra buffer
Diffstat (limited to 'cmd/rlpdump')
-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") |