Fixes a bug with getting output metadata from BlockchainDB
Thanks to moneromooo-monero for spotting the bug.
This commit is contained in:
committed by
warptangent
parent
c3fa07b44b
commit
c50cd95674
@@ -170,7 +170,7 @@ bool Blockchain::scan_outputkeys_for_indexes(const txin_to_key& tx_in_to_key, vi
|
||||
try
|
||||
{
|
||||
// get tx hash and output index for output
|
||||
auto output_index = m_db->get_output_tx_and_index(tx_in_to_key.amount, i);
|
||||
auto output_index = m_db->get_output_tx_and_index_from_global(i);
|
||||
|
||||
// get tx that output is from
|
||||
auto tx = m_db->get_tx(output_index.first);
|
||||
|
||||
Reference in New Issue
Block a user