Skip to content

Commit

Permalink
fixup! chore: update testnet.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Jan 13, 2025
1 parent 83fe903 commit d3138bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions golang/cosmos/daemon/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package cmd

import (
"bufio"
"context"
"encoding/json"
"fmt"
"net"
Expand Down Expand Up @@ -246,7 +245,7 @@ func InitTestnet(
WithKeybase(kb).
WithTxConfig(clientCtx.TxConfig)

if err := tx.Sign(context.Background(), txFactory, nodeDirName, txBuilder, true); err != nil {
if err := tx.Sign(cmd.Context(), txFactory, nodeDirName, txBuilder, true); err != nil {
return err
}

Expand Down

0 comments on commit d3138bd

Please sign in to comment.