forked from TrueCloudLab/neoneo-go
core: fix ineffassign suggestion
Goreport: Line 467: warning: ineffectual assignment to persisted (ineffassign)
This commit is contained in:
parent
e5ed7a7eb7
commit
1b5ea67737
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ func (bc *Blockchain) storeBlock(block *Block) error {
|
||||||
func (bc *Blockchain) persist(ctx context.Context) error {
|
func (bc *Blockchain) persist(ctx context.Context) error {
|
||||||
var (
|
var (
|
||||||
start = time.Now()
|
start = time.Now()
|
||||||
persisted = 0
|
persisted int
|
||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue