Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Jul 15, 2020
1 parent 9c94759 commit ced6084
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/cryptonote_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

#define CURRENT_TRANSACTION_VERSION 1
#define OFFSHORE_TRANSACTION_VERSION 3
#define HF_VERSION_OFFSHORE_PRICING 11
#define HF_VERSION_OFFSHORE_FULL 13

enum BLOB_TYPE {
BLOB_TYPE_CRYPTONOTE = 0,
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_TUBE) FIELD(cycle40)
if (blob_type == BLOB_TYPE_CRYPTONOTE_XHV && major_version >= HF_VERSION_OFFSHORE_PRICING) FIELD(pricing_record)
if (blob_type == BLOB_TYPE_CRYPTONOTE_XHV) FIELD(pricing_record)

END_SERIALIZE()
};
Expand Down

0 comments on commit ced6084

Please sign in to comment.