修改空指针问题
This commit is contained in:
parent
48394cda37
commit
fa0cac97c0
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue