This commit is contained in:
Łukasz Magiera 2020-10-12 06:17:00 +02:00
parent df7ee610cd
commit a2e0832a12

View File

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