build: silence new linter errors, tidy modules

The explicit `bbolt` dep is gone, as we depend on `kvdb`, which is
actually `walletdb`, which has its own module that defines the proper
`bbolt` version.
This commit is contained in:
Olaoluwa Osuntokun
2020-01-15 17:32:59 -08:00
parent 071c7cbe78
commit a4e39906b1
7 changed files with 12 additions and 19 deletions

View File

@ -795,7 +795,7 @@ func loadFwdPkgs(t *testing.T, db kvdb.Backend,
// makeFwdPkgDB initializes a test database for forwarding packages. If the
// provided path is an empty, it will create a temp dir/file to use.
func makeFwdPkgDB(t *testing.T, path string) kvdb.Backend {
func makeFwdPkgDB(t *testing.T, path string) kvdb.Backend { // nolint:unparam
if path == "" {
var err error
path, err = ioutil.TempDir("", "fwdpkgdb")