Skip to content

Commit

Permalink
Merge pull request #589 from cosmostation/feature/APP-786_update_gas_…
Browse files Browse the repository at this point in the history
…chihuahua

[APP-786] Update gas with Chihuahua
  • Loading branch information
Kwonhyukjoon authored Jul 5, 2023
2 parents 6181727 + b1ef154 commit f543af8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,7 @@ private void onCalculateFees() {
if (mBaseChain.equals(BaseChain.SIF_MAIN)) {
mFeeCoin = new Coin(mFeeData.denom, "100000000000000000");
} else if (mBaseChain.equals(BaseChain.CHIHUAHUA_MAIN)) {
if (mSelectedFeeInfo == 0) mFeeCoin = new Coin(mFeeData.denom, "100000000");
else if (mSelectedFeeInfo == 1) mFeeCoin = new Coin(mFeeData.denom, "250000000");
else mFeeCoin = new Coin(mFeeData.denom, "500000000");
mFeeCoin = new Coin(mFeeData.denom, "500000000");
} else {
BigDecimal amount = mFeeData.gasRate.multiply(mFeeGasAmount).setScale(0, RoundingMode.UP);
mFeeCoin = new Coin(mFeeData.denom, amount.toPlainString());
Expand Down

0 comments on commit f543af8

Please sign in to comment.