removed serialisation of unlock_time for txout_to_carrot_v1 output type

This commit is contained in:
Some Random Crypto Guy
2025-05-19 12:17:00 +01:00
parent 59b167f0f3
commit 53db771c35
4 changed files with 1 additions and 5 deletions
@@ -1328,7 +1328,7 @@ namespace cryptonote
else if (out.target.type() == typeid(txout_to_tagged_key))
output_unlock_time = boost::get< txout_to_tagged_key >(out.target).unlock_time;
else if (out.target.type() == typeid(txout_to_carrot_v1))
output_unlock_time = boost::get<txout_to_carrot_v1>(out.target).unlock_time;
output_unlock_time = 0;
else
{
LOG_ERROR("Unexpected output target type found: " << out.target.type().name() << " - cannot retrieve output_unlock_time");