Helius
2020-08-21 ddb79e7126625aa7e97d1a8d9a1a0dcde7dfff0a
src/main/java/com/xcong/excoin/modules/blackchain/service/EthService.java
@@ -263,7 +263,7 @@
      BigInteger nonce = ethGetTransactionCount.getTransactionCount();
      BigInteger value = Convert.toWei(amount, Convert.Unit.ETHER).toBigInteger();
      RawTransaction rawTransaction = RawTransaction.createEtherTransaction(nonce,
            Convert.toWei("70", Convert.Unit.GWEI).toBigInteger(),
            Convert.toWei("50", Convert.Unit.GWEI).toBigInteger(),
            Convert.toWei("60000", Convert.Unit.WEI).toBigInteger(), toAddress, value);
      byte[] signedMessage = TransactionEncoder.signMessage(rawTransaction, credentials);
      String hexValue = Numeric.toHexString(signedMessage);