From 12f54797421b03b76516438b8fd0279cd94c964e Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 17 Jan 2019 14:18:06 +0800 Subject: [PATCH] fix: make it compile with recent monero --- src/page.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/page.h b/src/page.h index 269d974..00b26da 100644 --- a/src/page.h +++ b/src/page.h @@ -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 {