mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-09 23:25:16 -08:00
Fix output_id bug with coinbase transactions (#88)
This commit is contained in:
committed by
Lee *!* Clagett
parent
91b9a40ad7
commit
a23eadd7ef
@@ -407,7 +407,7 @@ namespace lws
|
|||||||
db::output{
|
db::output{
|
||||||
db::transaction_link{height, tx_hash},
|
db::transaction_link{height, tx_hash},
|
||||||
db::output::spend_meta_{
|
db::output::spend_meta_{
|
||||||
db::output_id{out.amount, out_ids.at(index)},
|
db::output_id{tx.version < 2 ? out.amount : 0, out_ids.at(index)},
|
||||||
amount,
|
amount,
|
||||||
mixin,
|
mixin,
|
||||||
boost::numeric_cast<std::uint32_t>(index),
|
boost::numeric_cast<std::uint32_t>(index),
|
||||||
|
|||||||
Reference in New Issue
Block a user