aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-06-06 22:59:56 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-06-06 22:59:56 +0800
commit4ab0cedf42abea8becc5177e566c070730f13a07 (patch)
tree62b552de287793b11fcaecc8cf508db99ed92280 /core/chain_manager.go
parent2729e6294a22c5f1adb547078a7391ca0537ccc9 (diff)
downloadgo-tangerine-4ab0cedf42abea8becc5177e566c070730f13a07.tar.gz
go-tangerine-4ab0cedf42abea8becc5177e566c070730f13a07.tar.zst
go-tangerine-4ab0cedf42abea8becc5177e566c070730f13a07.zip
Export should start with block 0
Diffstat (limited to 'core/chain_manager.go')
-rw-r--r--core/chain_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index ae25ff6b1..a00fd288d 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -341,7 +341,7 @@ func (bc *ChainManager) ResetWithGenesisBlock(gb *types.Block) {
// Export writes the active chain to the given writer.
func (self *ChainManager) Export(w io.Writer) error {
- if err := self.ExportN(w, uint64(1), self.currentBlock.NumberU64()); err != nil {
+ if err := self.ExportN(w, uint64(0), self.currentBlock.NumberU64()); err != nil {
return err
}
return nil