From 9a60ca77af0d5076f741cd9136183645a9daded3 Mon Sep 17 00:00:00 2001 From: Steve Miskovetz Date: Mon, 7 Oct 2024 15:17:10 -0600 Subject: [PATCH] fix lint errors --- chain/utxo/utxo_chain.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chain/utxo/utxo_chain.go b/chain/utxo/utxo_chain.go index af6a8364b..dae15697f 100644 --- a/chain/utxo/utxo_chain.go +++ b/chain/utxo/utxo_chain.go @@ -39,9 +39,9 @@ var natPorts = nat.PortMap{ } type UtxoChain struct { - testName string - cfg ibc.ChainConfig - cancel context.CancelFunc + testName string + cfg ibc.ChainConfig + cancel context.CancelFunc log *zap.Logger @@ -285,7 +285,7 @@ func (c *UtxoChain) Start(testName string, ctx context.Context, additionalGenesi if err := c.SetAccount(ctx, addr, faucetKeyName); err != nil { return err } - + go func() { // Don't use ctx from Start(), it gets cancelled soon after returning. goRoutineCtx := context.Background() @@ -299,7 +299,7 @@ func (c *UtxoChain) Start(testName string, ctx context.Context, additionalGenesi c.MapAccess.Lock() faucetWallet, found := c.KeyNameToWalletMap[faucetKeyName] - if !found || !faucetWallet.ready { + if !found || !faucetWallet.ready { c.logger().Error("faucet wallet not found or not ready") c.MapAccess.Unlock() return