fix lint.

This commit is contained in:
Raúl Kripalani 2020-11-16 22:39:08 +00:00
parent 0c6072a1a0
commit 27c0ce4a3a

View File

@ -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)