Skip to content

Commit

Permalink
Merge pull request #62 from Staketab/dev
Browse files Browse the repository at this point in the history
fix NPE
  • Loading branch information
MrFoxogen authored May 17, 2024
2 parents 99d7c51 + 06dce88 commit 2b9fc55
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ public void sendCreateTask() {
public void checkBlocksFromZkCloudWorker() {
long topBlockNumber = domainRepository.findTopBlockNumber() != null ? domainRepository.findTopBlockNumber() : 0L;
ZkCloudWorkerContractDataResponse blockInfo = getBlockInfo(null);
if (blockInfo == null) {
return;
}
List<ZkCloudWorkerBlocksResponse> blocks = blockInfo.getBlocks();
List<ZkCloudWorkerBlocksResponse> finalBlocks = blocks
.stream()
Expand Down

0 comments on commit 2b9fc55

Please sign in to comment.