| src/main/java/cc/mrbird/febs/dapp/contract/andao/AndaoContractMain.java | ●●●●● patch | view | raw | blame | history |
src/main/java/cc/mrbird/febs/dapp/contract/andao/AndaoContractMain.java
@@ -175,7 +175,11 @@ contract.withdrawnEventFlowable(filter).subscribe(e->{ try { // 更新区块编号 TODO if(ObjectUtil.isEmpty(e.log.getBlockNumber())){ redisService.set("BNB_BLOCK_NUMBER",startBlock.intValue()); }else{ redisService.set("BNB_BLOCK_NUMBER",e.log.getBlockNumber().intValue()); } }catch (Exception exception) { exception.printStackTrace(); }