mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
fix: get_output_key requires epee::span now
This commit is contained in:
parent
90cd28c16c
commit
57819bec1c
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue