diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index 5f5b1febf..e015b30f0 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -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 }