File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ bool kernel_block_index_has_witness(const kernel_BlockIndex* block_index)
391
391
return bi->nStatus & BLOCK_OPT_WITNESS;
392
392
}
393
393
394
- kernel_Block * kernel_blockreader_get_block_by_index (const kernel_blockreader_Reader* reader, const kernel_BlockIndex* block_index_)
394
+ kernel_BlockPointer * kernel_blockreader_get_block_by_index (const kernel_blockreader_Reader* reader, const kernel_BlockIndex* block_index_)
395
395
{
396
396
auto br = cast_const_blockreader (reader);
397
397
const CBlockIndex* block_index{cast_const_block_index (block_index_)};
@@ -402,7 +402,7 @@ kernel_Block* kernel_blockreader_get_block_by_index(const kernel_blockreader_Rea
402
402
return nullptr ;
403
403
}
404
404
405
- return reinterpret_cast <kernel_Block *>(block_opt.value ());
405
+ return reinterpret_cast <kernel_BlockPointer *>(block_opt.value ());
406
406
}
407
407
408
408
uint32_t kernel_block_pointer_get_transaction_count (const kernel_BlockPointer* block_pointer)
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ BITCOINKERNEL_API bool BITCOINKERNEL_WARN_UNUSED_RESULT kernel_block_index_is_fa
103
103
104
104
BITCOINKERNEL_API bool BITCOINKERNEL_WARN_UNUSED_RESULT kernel_block_index_has_witness (const kernel_BlockIndex* block_index) BITCOINKERNEL_ARG_NONNULL(1 );
105
105
106
- BITCOINKERNEL_API kernel_Block * BITCOINKERNEL_WARN_UNUSED_RESULT kernel_blockreader_get_block_by_index (const kernel_blockreader_Reader* reader, const kernel_BlockIndex* block_index) BITCOINKERNEL_ARG_NONNULL(1 );
106
+ BITCOINKERNEL_API kernel_BlockPointer * BITCOINKERNEL_WARN_UNUSED_RESULT kernel_blockreader_get_block_by_index (const kernel_blockreader_Reader* reader, const kernel_BlockIndex* block_index) BITCOINKERNEL_ARG_NONNULL(1 );
107
107
108
108
BITCOINKERNEL_API uint32_t BITCOINKERNEL_WARN_UNUSED_RESULT kernel_block_pointer_get_transaction_count (const kernel_BlockPointer* block_pointer) BITCOINKERNEL_ARG_NONNULL(1 );
109
109
You can’t perform that action at this time.
0 commit comments