diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TronNileServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TronNileServiceImpl.java index 12cd76a..9fecaff 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TronNileServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TronNileServiceImpl.java @@ -731,7 +731,6 @@ public class TronNileServiceImpl implements ITronService { @Override public long estimateBandwidth(ApiWrapper api, String fromAddress, String toAddress, BigDecimal amount) { try { - BigDecimal divisor = new BigDecimal("1000000"); long rechangeAmount = TronServiceSupport.toSun(amount, "amount"); // 创建交易 Response.TransactionExtention transaction = api.transfer(fromAddress, toAddress, rechangeAmount); @@ -747,7 +746,6 @@ public class TronNileServiceImpl implements ITronService { @Override public String delegateResourceV2(ApiWrapper api, String fromAddress, String toAddress, BigDecimal amount, int resourceCode) { - BigDecimal divisor = new BigDecimal("1000000"); long rechangeAmount = TronServiceSupport.toSun(amount, "amount"); Response.TransactionExtention transactionExtention = null; try { @@ -761,7 +759,6 @@ public class TronNileServiceImpl implements ITronService { @Override public String unDelegateResourceV2(ApiWrapper api, String fromAddress, String toAddress, BigDecimal amount, int resourceCode) { - BigDecimal divisor = new BigDecimal("1000000"); long rechangeAmount = TronServiceSupport.toSun(amount, "amount"); Response.TransactionExtention transactionExtention = null; try {