Updated on 2026-08-14

This commit is contained in:
Tangem 2018-12-19 10:48:47 +03:00
parent 3467a500a5
commit ee2d4897a6

View file

@ -725,7 +725,7 @@ public class TokenEngine extends CoinEngine {
String gasPrice = infuraResponse.getResult();
gasPrice = gasPrice.substring(2);
// rounding gas price to integer gwei
BigInteger l = new BigInteger(gasPrice, 16).divide(BigInteger.valueOf(1000000000L)).multiply(BigInteger.valueOf(1000000000L));
BigInteger l = new BigInteger(gasPrice, 16);//.divide(BigInteger.valueOf(1000000000L)).multiply(BigInteger.valueOf(1000000000L));
//val m = if (ctx.blockchain==Blockchain.Token) BigInteger.valueOf(60000) else BigInteger.valueOf(21000)
BigInteger m;