diff --git a/src/page.h b/src/page.h index 3d27334..e0680ef 100644 --- a/src/page.h +++ b/src/page.h @@ -1717,7 +1717,7 @@ show_ringmembers_hex(string const& tx_hash_str) == false) continue; - core_storage->get_db().get_output_key(in_key.amount, + core_storage->get_db().get_output_key(epee::span(&in_key.amount, 1), absolute_offsets, mixin_outputs); } @@ -2276,7 +2276,7 @@ show_my_outputs(string tx_hash_str, if (are_absolute_offsets_good(absolute_offsets, in_key) == false) continue; - core_storage->get_db().get_output_key(in_key.amount, + core_storage->get_db().get_output_key(epee::span(&in_key.amount, 1), absolute_offsets, mixin_outputs); } @@ -4439,7 +4439,7 @@ json_transaction(string tx_hash_str) if (are_absolute_offsets_good(absolute_offsets, in_key) == false) continue; - core_storage->get_db().get_output_key(in_key.amount, + core_storage->get_db().get_output_key(epee::span(&in_key.amount, 1), absolute_offsets, outputs); } @@ -6115,7 +6115,7 @@ construct_tx_context(transaction tx, uint16_t with_ring_signatures = 0) // offsets seems good, so try to get the outputs for the amount and // offsets given - core_storage->get_db().get_output_key(in_key.amount, + core_storage->get_db().get_output_key(epee::span(&in_key.amount, 1), absolute_offsets, outputs); }