removed serialisation of unlock_time for txout_to_carrot_v1 output type
This commit is contained in:
@@ -68,7 +68,6 @@ namespace cryptonote
|
||||
{
|
||||
crypto::public_key key; // K_o
|
||||
std::string asset_type;
|
||||
uint64_t unlock_time;
|
||||
carrot::view_tag_t view_tag; // vt
|
||||
carrot::encrypted_janus_anchor_t encrypted_janus_anchor; // anchor_enc
|
||||
|
||||
|
||||
@@ -113,7 +113,6 @@ namespace boost
|
||||
{
|
||||
a & x.key;
|
||||
a & x.asset_type;
|
||||
a & x.unlock_time;
|
||||
a & x.view_tag;
|
||||
a & x.encrypted_janus_anchor;
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user