Skip to content

Commit

Permalink
lint: fix issue from parallel e2e pull request (#1974)
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn authored Jul 5, 2022
1 parent 1da14b8 commit 1a67b02
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/e2e/initialization/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/cosmos/go-bip39"
"github.com/spf13/viper"
tmcfg "github.com/tendermint/tendermint/config"
tmconfig "github.com/tendermint/tendermint/config"
tmos "github.com/tendermint/tendermint/libs/os"
"github.com/tendermint/tendermint/p2p"
Expand Down Expand Up @@ -272,7 +271,7 @@ func (n *internalNode) init() error {
return fmt.Errorf("failed to export app genesis state: %w", err)
}

tmcfg.WriteConfigFile(filepath.Join(config.RootDir, "config", "config.toml"), config)
tmconfig.WriteConfigFile(filepath.Join(config.RootDir, "config", "config.toml"), config)
return nil
}

Expand Down Expand Up @@ -330,7 +329,7 @@ func (n *internalNode) initStateSyncConfig(trustHeight int64, trustHash string,
return err
}

valConfig.StateSync = tmcfg.DefaultStateSyncConfig()
valConfig.StateSync = tmconfig.DefaultStateSyncConfig()
valConfig.StateSync.Enable = true
valConfig.StateSync.TrustHeight = trustHeight
valConfig.StateSync.TrustHash = trustHash
Expand Down

0 comments on commit 1a67b02

Please sign in to comment.