1
0
Fork 0
forked from lthn/blockchain

fixed tx serialization chaining for version

This commit is contained in:
sowle 2022-05-26 17:03:49 +02:00
parent 32c852b48c
commit 9034d8be58
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -46,7 +46,6 @@ public:
template<typename transaction_prefix_current_t>
bool transition_convert(const transaction_prefix_current_t& from, transaction_prefix_v1& to)
{
to.version = from.version;
to.extra = from.extra;
to.vin = from.vin;
to.vout = from.vout;
@ -55,7 +54,6 @@ bool transition_convert(const transaction_prefix_current_t& from, transaction_pr
template<typename transaction_prefix_current_t>
bool transition_convert(const transaction_prefix_v1& from, transaction_prefix_current_t& to)
{
to.version = from.version;
to.extra = from.extra;
to.vin = from.vin;
to.vout = from.vout;