fix: make it compile with recent monero

This commit is contained in:
moneroexamples 2019-01-17 14:18:06 +08:00
parent c7f7719800
commit 12f5479742
1 changed files with 2 additions and 1 deletions

View File

@ -6576,7 +6576,8 @@ construct_tx_context(transaction tx, uint16_t with_ring_signatures = 0)
if (core_storage->get_db().tx_exists(txd.hash, tx_index))
{
out_amount_indices = core_storage->get_db()
.get_tx_amount_output_indices(tx_index);
.get_tx_amount_output_indices(tx_index)
.front();
}
else
{