Skip to content

Commit 0499ecb

Browse files
Merge pull request #462 from thecodefactory/height-fix
Fix discrepancy between subscription height and height published
2 parents 448fbad + 0fe9b59 commit 0499ecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/block_service.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ void block_service::publish_blocks(uint32_t fork_height,
194194
}
195195

196196
for (const auto block: *blocks)
197-
publish_block(publisher, fork_height++, block);
197+
publish_block(publisher, ++fork_height, block);
198198
}
199199

200200
// [ height:4 ]

0 commit comments

Comments
 (0)