Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
misko9 committed Oct 7, 2024
1 parent 977be92 commit 9a60ca7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions chain/utxo/utxo_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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()
Expand All @@ -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
Expand Down

0 comments on commit 9a60ca7

Please sign in to comment.