diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index 03622aa9c..a20a6a5f1 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -464,7 +464,7 @@ func (bc *Blockchain) storeBlock(block *Block) error { func (bc *Blockchain) persist(ctx context.Context) error { var ( start = time.Now() - persisted = 0 + persisted int err error )