aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/rlpdump
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-23 22:08:29 +0800
committerFelix Lange <fjl@twurst.com>2015-04-17 20:45:09 +0800
commit56a48101dc3dd96587915a5d7882f9d46ecc6ae9 (patch)
tree575920d621c24815f0b197f46ab32cba2735b99b /cmd/rlpdump
parentc35f4fd0bd93bcab01ba7704fc144514a2cc7a1b (diff)
downloadgo-tangerine-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar
go-tangerine-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.gz
go-tangerine-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.bz2
go-tangerine-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.lz
go-tangerine-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.xz
go-tangerine-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.zst
go-tangerine-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.zip
cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limit
Diffstat (limited to 'cmd/rlpdump')
-rw-r--r--cmd/rlpdump/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go
index 8567dcff8..528ccc6bd 100644
--- a/cmd/rlpdump/main.go
+++ b/cmd/rlpdump/main.go
@@ -78,7 +78,7 @@ func main() {
os.Exit(2)
}
- s := rlp.NewStream(r)
+ s := rlp.NewStream(r, 0)
for {
if err := dump(s, 0); err != nil {
if err != io.EOF {