From ec4dee0fcd6cd571ffd146cbebb7367e91457a46 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 5 Jan 2015 17:42:20 +0100 Subject: cmd/rlpdump: remove extra buffer --- cmd/rlpdump/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd') 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") -- cgit