fix: get_output_key requires epee::span now

master
moneroexamples 6 years ago
parent 90cd28c16c
commit 57819bec1c

@ -1717,7 +1717,7 @@ show_ringmembers_hex(string const& tx_hash_str)
== false) == false)
continue; continue;
core_storage->get_db().get_output_key(in_key.amount, core_storage->get_db().get_output_key(epee::span<const uint64_t>(&in_key.amount, 1),
absolute_offsets, absolute_offsets,
mixin_outputs); mixin_outputs);
} }
@ -2276,7 +2276,7 @@ show_my_outputs(string tx_hash_str,
if (are_absolute_offsets_good(absolute_offsets, in_key) == false) if (are_absolute_offsets_good(absolute_offsets, in_key) == false)
continue; continue;
core_storage->get_db().get_output_key(in_key.amount, core_storage->get_db().get_output_key(epee::span<const uint64_t>(&in_key.amount, 1),
absolute_offsets, absolute_offsets,
mixin_outputs); mixin_outputs);
} }
@ -4439,7 +4439,7 @@ json_transaction(string tx_hash_str)
if (are_absolute_offsets_good(absolute_offsets, in_key) == false) if (are_absolute_offsets_good(absolute_offsets, in_key) == false)
continue; continue;
core_storage->get_db().get_output_key(in_key.amount, core_storage->get_db().get_output_key(epee::span<const uint64_t>(&in_key.amount, 1),
absolute_offsets, absolute_offsets,
outputs); 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 seems good, so try to get the outputs for the amount and
// offsets given // offsets given
core_storage->get_db().get_output_key(in_key.amount, core_storage->get_db().get_output_key(epee::span<const uint64_t>(&in_key.amount, 1),
absolute_offsets, absolute_offsets,
outputs); outputs);
} }

Loading…
Cancel
Save