Skip to content

Commit 21440ae

Browse files
Apply suggestions from code review
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com> Signed-off-by: garyschulte <garyschulte@gmail.com>
1 parent e0ea180 commit 21440ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/snapsync/RequestDataStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ public CompletableFuture<List<Task<SnapDataRequest>>> requestStorage(
140140
/*
141141
* Checks if the response represents an "empty range".
142142
*
143-
* An "empty range" is defined as a response where either no slots are present,
144-
* or the first slot is empty, but at least one proof exists
143+
* An "empty range" is defined as a response where at least one proof exists
144+
* and either no slots are present, or the first slot is empty
145145
*/
146146
try {
147147
final boolean isEmptyRange =

0 commit comments

Comments
 (0)