Skip to content

Commit

Permalink
remove todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
akremstudy committed Dec 18, 2024
1 parent 55b86b8 commit e241129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ func (app *App) preBlocker(ph *ProposalHandler) func(ctx sdk.Context, _ *abci.Re
transferAmt := bondedPoolBal.Amount.Sub(bondedtotal)
if transferAmt.Equal(math.NewInt(1950000000)) { // manually checked amount
// last_block_height":"1062219"
if ctx.BlockHeight() == 1062219+1 { // todo: figure out height
if ctx.BlockHeight() == 1062219+1 {
err = app.BankKeeper.SendCoinsFromModuleToModule(ctx, stakingtypes.BondedPoolName, stakingtypes.NotBondedPoolName, sdk.NewCoins(sdk.NewCoin("loya", transferAmt)))
if err != nil {
return nil, err
Expand Down

0 comments on commit e241129

Please sign in to comment.