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)
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,
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<const uint64_t>(&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<const uint64_t>(&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<const uint64_t>(&in_key.amount, 1),
absolute_offsets,
outputs);
}

Loading…
Cancel
Save