Fix lint issues

This commit is contained in:
Darko Brdareski 2022-02-21 17:58:00 +01:00
parent c8cd8bb591
commit ad4acf3baa

View File

@ -1,4 +1,4 @@
//stm: #integration
//stm: #cli
package cli
import (
@ -33,7 +33,7 @@ func TestStat(t *testing.T) {
head := mock.TipSet(mock.MkBlock(first, 15, 7))
// create a signed message to be returned as a pending message
w, err := wallet.NewWallet(wallet.NewMemKeyStore())
w, _ := wallet.NewWallet(wallet.NewMemKeyStore())
senderAddr, err := w.WalletNew(context.Background(), types.KTSecp256k1)
if err != nil {
t.Fatal(err)
@ -74,7 +74,7 @@ func TestStat(t *testing.T) {
head := mock.TipSet(mock.MkBlock(first, 15, 7))
// create a signed message to be returned as a pending message
w, err := wallet.NewWallet(wallet.NewMemKeyStore())
w, _ := wallet.NewWallet(wallet.NewMemKeyStore())
senderAddr, err := w.WalletNew(context.Background(), types.KTSecp256k1)
if err != nil {
t.Fatal(err)
@ -113,7 +113,7 @@ func TestPending(t *testing.T) {
defer cancel()
// create a signed message to be returned as a pending message
w, err := wallet.NewWallet(wallet.NewMemKeyStore())
w, _ := wallet.NewWallet(wallet.NewMemKeyStore())
senderAddr, err := w.WalletNew(context.Background(), types.KTSecp256k1)
if err != nil {
t.Fatal(err)