From 8ae88593ddd84140c25893fc0658e3857be815ed Mon Sep 17 00:00:00 2001 From: Vsevolod Brekelov Date: Thu, 21 Nov 2019 15:00:58 +0300 Subject: [PATCH] core: blockchain fmt --- pkg/core/blockchain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }