From 4ab0cedf42abea8becc5177e566c070730f13a07 Mon Sep 17 00:00:00 2001
From: Taylor Gerring <taylor.gerring@gmail.com>
Date: Sat, 6 Jun 2015 10:59:56 -0400
Subject: [PATCH] Export should start with block 0

---
 core/chain_manager.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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