Skip to content

Commit

Permalink
[APP-786] Update gas with Chihuahua (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwonhyukjoon authored Jul 7, 2023
1 parent c27031f commit e47debe
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Cosmostation/Controller/GenTx/FeeGrpcViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,7 @@ class FeeGrpcViewController: BaseViewController, SBCardPopupDelegate {
if (chainType == .SIF_MAIN) {
mFeeCoin = Coin.init(mFeeData.denom!, "100000000000000000")
} else if (chainType == .CHIHUAHUA_MAIN) {
if (mSelectedFeeInfo == 0) {
mFeeCoin = Coin.init(mFeeData.denom!, "100000000")
} else if (mSelectedFeeInfo == 1) {
mFeeCoin = Coin.init(mFeeData.denom!, "250000000")
} else {
mFeeCoin = Coin.init(mFeeData.denom!, "500000000")
}
mFeeCoin = Coin.init(mFeeData.denom!, "500000000")
} else {
let amount = (mFeeData.gasRate)!.multiplying(by: mFeeGasAmount, withBehavior: WUtils.handler0Up)
mFeeCoin = Coin.init(mFeeData.denom!, amount.stringValue)
Expand Down

0 comments on commit e47debe

Please sign in to comment.