Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Nov 20, 2023
1 parent 5612105 commit b069a77
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions x/uibc/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ import (

func NewGenesisState(params Params, outflows sdk.DecCoins, outflowSum sdk.Dec) *GenesisState {
return &GenesisState{
Params: params,
Outflows: outflows,
Params: params,
Outflows: outflows,
OutflowSum: outflowSum,
}
}

func DefaultGenesisState() *GenesisState {
return &GenesisState{
Params: DefaultParams(),
Inflows: nil,
Outflows: nil,
Params: DefaultParams(),
Inflows: nil,
Outflows: nil,
OutflowSum: sdk.NewDec(0),
InflowSum: sdk.NewDec(0),
}
Expand Down
12 changes: 6 additions & 6 deletions x/uibc/quota/keeper/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ func (kb Builder) ExportGenesis(ctx sdk.Context) *uibc.GenesisState {
util.Panic(err)

return &uibc.GenesisState{
Params: k.GetParams(),
Outflows: outflows,
OutflowSum: k.GetTotalOutflow(),
QuotaExpires: *quotaExpires,
Inflows: inflows,
InflowSum: k.GetTotalInflow(),
Params: k.GetParams(),
Outflows: outflows,
OutflowSum: k.GetTotalOutflow(),
QuotaExpires: *quotaExpires,
Inflows: inflows,
InflowSum: k.GetTotalInflow(),
}
}

0 comments on commit b069a77

Please sign in to comment.