Skip to content

Commit

Permalink
Merge branch 'CNS-869-iprpc-fund-tx' into CNS-871-iprpc-queries
Browse files Browse the repository at this point in the history
  • Loading branch information
oren-lava committed Mar 6, 2024
2 parents 4911226 + ef79aef commit 584cf88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/rewards/keeper/iprpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (k Keeper) FundIprpc(ctx sdk.Context, creator string, duration uint64, fund
utils.LogAttr("min_iprpc_fund_cost", minIprpcFundCost.String()),
)
}
fund = fund.Sub(minIprpcFundCostCoins...)
fund = fund.Sub(minIprpcFundCost)

// send the funds to the iprpc pool
err = k.bankKeeper.SendCoinsFromAccountToModule(ctx, addr, string(types.IprpcPoolName), fund)
Expand Down

0 comments on commit 584cf88

Please sign in to comment.