Skip to content

Commit

Permalink
Merge logical conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Apr 18, 2023
1 parent 23d1387 commit f9801c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e-polybft/framework/test-cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,12 @@ func NewTestCluster(t *testing.T, validatorsCount int, opts ...ClusterOption) *T
// start bridge
cluster.Bridge, err = NewTestBridge(t, cluster.Config)
require.NoError(t, err)
}

if cluster.Config.HasBridge {
// deploy rootchain contracts
err := cluster.Bridge.deployRootchainContracts(genesisPath)
require.NoError(t, err)

// fund validators on the rootchain
err = cluster.Bridge.fundRootchainValidators()
require.NoError(t, err)
}
Expand Down

0 comments on commit f9801c0

Please sign in to comment.