Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Dec 5, 2024
1 parent a0566a8 commit b5e364b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions e2etest/test_manager_btcstaking.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,8 @@ var (
func (tm *TestManager) getBTCUnbondingTime(t *testing.T) uint32 {
bsParams, err := tm.BabylonClient.BTCStakingParams()
require.NoError(t, err)
btccParams, err := tm.BabylonClient.BTCCheckpointParams()
require.NoError(t, err)

return sdkmath.Max[uint32](
bsParams.Params.UnbondingTimeBlocks,
btccParams.Params.CheckpointFinalizationTimeout,
)
return bsParams.Params.UnbondingTimeBlocks
}

func (tm *TestManager) CreateFinalityProvider(t *testing.T) (*bstypes.FinalityProvider, *btcec.PrivateKey) {
Expand Down

0 comments on commit b5e364b

Please sign in to comment.