mirror of
https://github.com/vtnerd/monero-lws.git
synced 2024-11-16 17:27:39 +00:00
Fix output_id bug with coinbase transactions (#88)
This commit is contained in:
parent
91b9a40ad7
commit
a23eadd7ef
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue