core: blockchain fmt
This commit is contained in:
parent
3c4b0e955d
commit
8ae88593dd
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ func (bc *Blockchain) processHeader(h *Header, batch storage.Batch, headerList *
|
|||
func (bc *Blockchain) storeBlock(block *Block) error {
|
||||
chainState := NewBlockChainState(bc.store)
|
||||
|
||||
if err := chainState.storeAsBlock(block,0); err != nil {
|
||||
if err := chainState.storeAsBlock(block, 0); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue