diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-23 22:08:29 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-04-17 20:45:09 +0800 |
commit | 56a48101dc3dd96587915a5d7882f9d46ecc6ae9 (patch) | |
tree | 575920d621c24815f0b197f46ab32cba2735b99b /cmd/utils/cmd.go | |
parent | c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b (diff) | |
download | dexon-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar dexon-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.gz dexon-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.bz2 dexon-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.lz dexon-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.xz dexon-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.tar.zst dexon-56a48101dc3dd96587915a5d7882f9d46ecc6ae9.zip |
cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limit
Diffstat (limited to 'cmd/utils/cmd.go')
-rw-r--r-- | cmd/utils/cmd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index 7286f5c5e..64faf6ad1 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -154,7 +154,7 @@ func ImportChain(chainmgr *core.ChainManager, fn string) error { defer fh.Close() chainmgr.Reset() - stream := rlp.NewStream(fh) + stream := rlp.NewStream(fh, 0) var i, n int batchSize := 2500 |