mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Corrected typos
This commit is contained in:
parent
34b622a248
commit
0686e31301
1 changed files with 2 additions and 2 deletions
|
|
@ -765,7 +765,7 @@ func (self *BlockChain) writeHeader(header *types.Header) error {
|
|||
glog.Fatalf("failed to write header total difficulty: %v", err)
|
||||
}
|
||||
if err := WriteHeader(self.chainDb, header); err != nil {
|
||||
glog.Fatalf("filed to write header contents: %v", err)
|
||||
glog.Fatalf("failed to write header contents: %v", err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
@ -1085,7 +1085,7 @@ func (self *BlockChain) WriteBlock(block *types.Block) (status writeStatus, err
|
|||
glog.Fatalf("failed to write block total difficulty: %v", err)
|
||||
}
|
||||
if err := WriteBlock(self.chainDb, block); err != nil {
|
||||
glog.Fatalf("filed to write block contents: %v", err)
|
||||
glog.Fatalf("failed to write block contents: %v", err)
|
||||
}
|
||||
self.futureBlocks.Remove(block.Hash())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue