Skip to content

Commit

Permalink
fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk committed Nov 16, 2020
1 parent 0c6072a commit 27c0ce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func ImportChain(r repo.Repo, fname string, snapshot bool) (err error) {
}

cst := store.NewChainStore(bs, bs, mds, vm.Syscalls(ffiwrapper.ProofVerifier), j)
defer cst.Close()
defer cst.Close() //nolint:errcheck

log.Infof("importing chain from %s...", fname)

Expand Down

0 comments on commit 27c0ce4

Please sign in to comment.