| src/main/java/cc/mrbird/febs/dapp/service/impl/DappSystemServiceImpl.java | ●●●●● patch | view | raw | blame | history |
src/main/java/cc/mrbird/febs/dapp/service/impl/DappSystemServiceImpl.java
@@ -759,7 +759,14 @@ */ @Override public void sdmWithdrawFee(String data) { BigDecimal totalFee = new BigDecimal(data); JSONObject jsonObject = JSONObject.parseObject(data); String address = jsonObject.getString("address"); if (!ChainEnum.BSC_TFC_FEE.getAddress().equals(address)) { return; } BigDecimal totalFee = new BigDecimal(jsonObject.getString("fee")); String batchNo = RandomUtil.randomString(16); BigDecimal cardProfit = totalFee.multiply(new BigDecimal("0.5"));