@@ -120,7 +120,7 @@ func ImportChain(chain *core.BlockChain, fn string) error {
120120 }
121121 }
122122
123- glog .Infoln ("Importing blockchain" , fn )
123+ glog .Infoln ("Importing blockchain " , fn )
124124 fh , err := os .Open (fn )
125125 if err != nil {
126126 return err
@@ -182,7 +182,7 @@ func hasAllBlocks(chain *core.BlockChain, bs []*types.Block) bool {
182182}
183183
184184func ExportChain (blockchain * core.BlockChain , fn string ) error {
185- glog .Infoln ("Exporting blockchain to" , fn )
185+ glog .Infoln ("Exporting blockchain to " , fn )
186186 fh , err := os .OpenFile (fn , os .O_CREATE | os .O_WRONLY | os .O_TRUNC , os .ModePerm )
187187 if err != nil {
188188 return err
@@ -191,12 +191,12 @@ func ExportChain(blockchain *core.BlockChain, fn string) error {
191191 if err := blockchain .Export (fh ); err != nil {
192192 return err
193193 }
194- glog .Infoln ("Exported blockchain to" , fn )
194+ glog .Infoln ("Exported blockchain to " , fn )
195195 return nil
196196}
197197
198198func ExportAppendChain (blockchain * core.BlockChain , fn string , first uint64 , last uint64 ) error {
199- glog .Infoln ("Exporting blockchain to" , fn )
199+ glog .Infoln ("Exporting blockchain to " , fn )
200200 // TODO verify mode perms
201201 fh , err := os .OpenFile (fn , os .O_CREATE | os .O_APPEND | os .O_WRONLY , os .ModePerm )
202202 if err != nil {
@@ -206,6 +206,6 @@ func ExportAppendChain(blockchain *core.BlockChain, fn string, first uint64, las
206206 if err := blockchain .ExportN (fh , first , last ); err != nil {
207207 return err
208208 }
209- glog .Infoln ("Exported blockchain to" , fn )
209+ glog .Infoln ("Exported blockchain to " , fn )
210210 return nil
211211}
0 commit comments