core: blockchain fmt

This commit is contained in:
Vsevolod Brekelov 2019-11-21 15:00:58 +03:00
parent 3c4b0e955d
commit 8ae88593dd

View file

@ -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
}