From 18e3eb8ff009cd5380c8829799b0792e3ca1b83d Mon Sep 17 00:00:00 2001 From: luqingjie <544309509@qq.com> Date: Mon, 12 Oct 2026 09:41:53 -0400 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=97=A0=E7=94=A8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/system/service/impl/TronNileServiceImpl.java | 3 --- 1 file changed, 3 deletions(-) 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 {