Bug fix
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
#define CURRENT_TRANSACTION_VERSION 1
|
#define CURRENT_TRANSACTION_VERSION 1
|
||||||
#define OFFSHORE_TRANSACTION_VERSION 3
|
#define OFFSHORE_TRANSACTION_VERSION 3
|
||||||
|
#define HF_VERSION_OFFSHORE_PRICING 11
|
||||||
|
#define HF_VERSION_OFFSHORE_FULL 13
|
||||||
|
|
||||||
enum BLOB_TYPE {
|
enum BLOB_TYPE {
|
||||||
BLOB_TYPE_CRYPTONOTE = 0,
|
BLOB_TYPE_CRYPTONOTE = 0,
|
||||||
|
|||||||
@@ -513,7 +513,7 @@ namespace cryptonote
|
|||||||
}
|
}
|
||||||
if (blob_type == BLOB_TYPE_CRYPTONOTE_XTNC || blob_type == BLOB_TYPE_CRYPTONOTE_CUCKOO) FIELD(cycle)
|
if (blob_type == BLOB_TYPE_CRYPTONOTE_XTNC || blob_type == BLOB_TYPE_CRYPTONOTE_CUCKOO) FIELD(cycle)
|
||||||
if (blob_type == BLOB_TYPE_CRYPTONOTE_TUBE) FIELD(cycle40)
|
if (blob_type == BLOB_TYPE_CRYPTONOTE_TUBE) FIELD(cycle40)
|
||||||
if (blob_type == BLOB_TYPE_CRYPTONOTE_XHV) FIELD(pricing_record)
|
if (blob_type == BLOB_TYPE_CRYPTONOTE_XHV && major_version >= HF_VERSION_OFFSHORE_PRICING) FIELD(pricing_record)
|
||||||
|
|
||||||
END_SERIALIZE()
|
END_SERIALIZE()
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user