Skip to content

Commit

Permalink
updates in-place
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu committed Nov 18, 2024
1 parent df05477 commit 78e47d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/onomyd/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ func initAppForTestnet(app *app.OnomyApp, args valArgs) *app.OnomyApp {
tmos.Exit(err.Error())
}

pramStaking, err := app.StakingKeeper.GetParams(ctx)
if err != nil {
tmos.Exit(err.Error())
}
pramStaking.UnbondingTime = time.Second * 30
app.StakingKeeper.SetParams(ctx, pramStaking)
// DISTRIBUTION.
//

Expand Down

0 comments on commit 78e47d7

Please sign in to comment.