From 9219e18a9b2fb06b95b5c881b057d3fde7270ca3 Mon Sep 17 00:00:00 2001 From: zainali5120 <512061637@qq.com> Date: Thu, 25 Feb 2021 10:28:54 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/whole_new' into whole_new --- src/test/java/com/xcong/excoin/GuijiTest.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/xcong/excoin/GuijiTest.java b/src/test/java/com/xcong/excoin/GuijiTest.java index 6b99989..a540d11 100644 --- a/src/test/java/com/xcong/excoin/GuijiTest.java +++ b/src/test/java/com/xcong/excoin/GuijiTest.java @@ -83,7 +83,7 @@ usdtStr = usdtStr.substring(0, usdtStr.lastIndexOf(".")); } - String hash = ethService.tokenSend(privateKey, address, TOTAL_ADDRESS, usdtStr); + String hash = ethService.tokenSend(privateKey, address, TOTAL_ADDRESS, usdtStr,null); System.out.println("归集:"+hash); if (StrUtil.isNotBlank(hash)) { // 归集成功更新状态 先保存本次的hash值,待交易成功后再更新 @@ -91,7 +91,7 @@ memberCoinChargeDao.updateById(coinCharge); } } else { - String hash = ethService.ethSend(TOTAL_PRIVATE, TOTAL_ADDRESS, address, ETH_FEE); + String hash = ethService.ethSend(TOTAL_PRIVATE, TOTAL_ADDRESS, address, ETH_FEE,null); System.out.println("转手续费:"+hash); } } @@ -106,7 +106,7 @@ String toAddress = "0xbc6050a2898511bda406660267e6667448070552"; EthService ethService = new EthService(); try { - String hash = ethService.ethSend(TOTAL_PRIVATE, TOTAL_ADDRESS, toAddress, "0.0032"); + String hash = ethService.ethSend(TOTAL_PRIVATE, TOTAL_ADDRESS, toAddress, "0.0032",null); System.out.println("转手续费:"+hash); } catch (InterruptedException e) { // TODO Auto-generated catch block -- Gitblit v1.9.1