Skip to content

Commit 3cf0563

Browse files
committed
work
1 parent 0182f9d commit 3cf0563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/discof/rpcserver/fd_rpc_history.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ fd_rpc_history_alloc_block(fd_rpc_history_t * hist, ulong slot) {
171171
if( slot < hist->first_slot ) hist->first_slot = slot;
172172
else if( slot > hist->latest_slot ) hist->latest_slot = slot;
173173
}
174+
hist->block_cnt++;
174175
return blk;
175176
}
176177

@@ -275,7 +276,6 @@ fd_rpc_history_process_column(fd_rpc_history_t * hist, struct fd_rpc_shred_map_c
275276
ulong file_offset = blk->file_offset = hist->file_totsz;
276277
blk->file_size = blk_sz;
277278
hist->file_totsz += blk_sz;
278-
hist->block_cnt ++;
279279

280280
/* Scan the block */
281281
fd_rpc_history_scan_block( hist, slot, file_offset, blk_data, blk_sz );

0 commit comments

Comments
 (0)