Skip to content

Commit 0fe9b59

Browse files
Fix discrepancy between subscription height and height published
1 parent 448fbad commit 0fe9b59

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)