diff --git a/alive-api/src/main/java/com/alive/server/service/CrowdfundingService.java b/alive-api/src/main/java/com/alive/server/service/CrowdfundingService.java index 014886b..2a2e897 100644 --- a/alive-api/src/main/java/com/alive/server/service/CrowdfundingService.java +++ b/alive-api/src/main/java/com/alive/server/service/CrowdfundingService.java @@ -303,7 +303,7 @@ public class CrowdfundingService extends BaseComponent { log.info("扫描块失败(检查节点是否被限制) out {} ,{}, {}", startBlock, endBlock, send.getError().getMessage()); return null; } - return send.getLogs(); + return send == null ? null : send.getLogs(); } /**