From a2e0832a12f220678ac73bf96542c747814b02bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 12 Oct 2020 06:17:00 +0200 Subject: [PATCH] Fix lint --- chain/wallet/ledger/ledger.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/wallet/ledger/ledger.go b/chain/wallet/ledger/ledger.go index 34307d192..c1757fd0a 100644 --- a/chain/wallet/ledger/ledger.go +++ b/chain/wallet/ledger/ledger.go @@ -145,7 +145,7 @@ func (lw LedgerWallet) WalletList(ctx context.Context) ([]address.Address, error if err != nil { return nil, err } - defer res.Close() + defer res.Close() // nolint:errcheck var out []address.Address for { @@ -179,7 +179,7 @@ func (lw LedgerWallet) WalletNew(ctx context.Context, t types.KeyType) (address. if err != nil { return address.Undef, err } - defer res.Close() + defer res.Close() // nolint:errcheck var maxi int64 = -1 for {