From 4ced071a7d00423a8d94b84bc88ce666dfe362d3 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 13 Mar 2018 13:01:11 -0700 Subject: [PATCH] cmd/lncli+log: fix linter error --- cmd/lncli/commands.go | 2 +- log.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 40431eac..e618692a 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -1142,7 +1142,7 @@ mnemonicCheck: if len(cipherSeedMnemonic) != 24 { return fmt.Errorf("wrong cipher seed mnemonic "+ "length: got %v words, expecting %v words", - len(CipherSeedMnemonic), 24) + len(cipherSeedMnemonic), 24) } // Additionally, the user may have a passphrase, that will also diff --git a/log.go b/log.go index 0b3c6fb7..1a6bb871 100644 --- a/log.go +++ b/log.go @@ -11,6 +11,7 @@ import ( "github.com/btcsuite/btclog" "github.com/jrick/logrotate/rotator" "github.com/lightninglabs/neutrino" + "github.com/lightningnetwork/lightning-onion" "github.com/lightningnetwork/lnd/autopilot" "github.com/lightningnetwork/lnd/chainntnfs" "github.com/lightningnetwork/lnd/channeldb"