| | |
| | | if(EthUsdtChargeDto.Symbol.USDT_ERC20.equals(ethUsdtChargeDto.getSymbol())){ |
| | | blockCoinService.updateEthUsdtNew(ethUsdtChargeDto); |
| | | } |
| | | if(EthUsdtChargeDto.Symbol.USDT_TRC20.equals(ethUsdtChargeDto.getSymbol())){ |
| | | if(EthUsdtChargeDto.Symbol.USDT_TRC20.equals(ethUsdtChargeDto.getSymbol()) || EthUsdtChargeDto.Symbol.COIN_TRC20.equals(ethUsdtChargeDto.getSymbol())){ |
| | | blockCoinService.updateTrc20(ethUsdtChargeDto); |
| | | // 同步完直接归集 |
| | | trxUsdtUpdateService.poolByAddress(ethUsdtChargeDto.getAddress()); |
| | |
| | | } |
| | | } |
| | | |
| | | @RabbitListener(queues = RabbitMqConfig.QUEUE_TRC20_BLOCK) |
| | | @RabbitListener(queues = RabbitMqConfig.QUEUE_TRC20_BLOCK, containerFactory = "customContainerFactory") |
| | | public void trc20BlockMsg(String content) { |
| | | Long blocnNum = Long.parseLong(content); |
| | | try { |