修改空指针问题

This commit is contained in:
1186 2024-06-27 10:30:07 +08:00
parent 48394cda37
commit fa0cac97c0
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
/**