forked from lthn/blockchain
fixed scan_outputkeys_for_indexes overload
This commit is contained in:
parent
0bb579769c
commit
902d4ffd43
2 changed files with 3 additions and 1 deletions
|
|
@ -6425,6 +6425,7 @@ bool blockchain_storage::validate_alt_block_txs(const block& b, const crypto::ha
|
|||
uint64_t height = abei.height;
|
||||
bool r = false;
|
||||
std::set<crypto::hash> alt_chain_block_ids;
|
||||
|
||||
|
||||
alt_chain_block_ids.insert(id);
|
||||
// prepare data structure for output global indexes tracking within current alt chain
|
||||
|
|
|
|||
|
|
@ -238,8 +238,9 @@ namespace currency
|
|||
template<class visitor_t>
|
||||
bool scan_outputkeys_for_indexes(const transaction &validated_tx, const txin_to_key& tx_in_to_key, visitor_t& vis)
|
||||
{
|
||||
scan_for_keys_context cntx_stub = AUTO_VAL_INIT(cntx_stub);
|
||||
uint64_t stub = 0;
|
||||
return scan_outputkeys_for_indexes(validated_tx, tx_in_to_key, vis, stub);
|
||||
return scan_outputkeys_for_indexes(validated_tx, tx_in_to_key, vis, stub, cntx_stub);
|
||||
}
|
||||
template<class visitor_t>
|
||||
bool scan_outputkeys_for_indexes(const transaction &validated_tx, const txin_v& verified_input, visitor_t& vis, uint64_t& max_related_block_height, scan_for_keys_context& /*scan_context*/) const;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue