Skip to content

Commit

Permalink
use RX_BLOCK_VERSION consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
hyc committed Sep 11, 2019
1 parent 0925276 commit aca5c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_tx_utils.cpp
Expand Up @@ -681,7 +681,7 @@ namespace cryptonote
}
blobdata bd = get_block_hashing_blob(b);
const int pow_variant = b.major_version >= 7 ? b.major_version - 6 : 0;
if (pow_variant >= 6)
if (b.major_version >= RX_BLOCK_VERSION)
{
uint64_t seed_height, main_height;
crypto::hash hash;
Expand Down

0 comments on commit aca5c38

Please sign in to comment.