去掉无用代码
This commit is contained in:
1 parent
430582253b
commit
18e3eb8ff0
1 file changed
-3
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user