Skip to content

Commit 1b1f109

Browse files
committed
Add comment with context
1 parent 91f7a8d commit 1b1f109

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend-rust/src/graphql_api/block.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ impl QueryBlocks {
8585
false
8686
};
8787
let has_next_page = if let Some(last) = rows.last() {
88+
// Genesis block have height 0, so we check whether the last block is higher.
8889
last.height > 0
8990
} else {
9091
false

0 commit comments

Comments
 (0)