diff --git a/include/bitcoin/database/impl/query/confirm.ipp b/include/bitcoin/database/impl/query/confirm.ipp index ea01e3d2..bff6c928 100644 --- a/include/bitcoin/database/impl/query/confirm.ipp +++ b/include/bitcoin/database/impl/query/confirm.ipp @@ -593,7 +593,7 @@ bool CLASS::set_strong(const header_link& link, const tx_links& txs, // Preallocate all strong_tx records for the block and reuse memory ptr. using namespace system; using link_t = table::strong_tx::link; - const link_t records = possible_narrow_cast(txs.size()); + const auto records = possible_narrow_cast(txs.size()); auto record = store_.strong_tx.allocate(records); const auto ptr = store_.strong_tx.get_memory();