Updated on 2026-08-14

This commit is contained in:
Tangem 2020-02-27 11:56:04 +03:00
parent 6d5d95e820
commit d99cb04d1e
2 changed files with 3 additions and 2 deletions

View file

@ -546,7 +546,7 @@ public class TokenEngine extends CoinEngine {
int gasLimitInt = 60000;
if (amountValue.getCurrency().equals("DGX")) {
if (amountValue.getCurrency().equals("DGX") || amountValue.getCurrency().equals("CGT")) {
gasLimitInt = 300000;
}
@ -796,7 +796,7 @@ public class TokenEngine extends CoinEngine {
Log.i(TAG, "Infura gas price: " + gasPrice + " (" + l.toString() + ")");
BigInteger m;
if (!amount.getCurrency().equals(Blockchain.Ethereum.getCurrency()))
if (amount.getCurrency().equals("DGX")) {
if (amount.getCurrency().equals("DGX") || amount.getCurrency().equals("CGT")) {
m = BigInteger.valueOf(300000);
} else {
m = BigInteger.valueOf(60000);