Skip to content
Permalink
Browse files

use RX_BLOCK_VERSION consistently

  • Loading branch information...
hyc committed Sep 11, 2019
1 parent 0925276 commit aca5c38cc8d427ec70af56c2aa42aea053974107
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cryptonote_core/cryptonote_tx_utils.cpp
@@ -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;

0 comments on commit aca5c38

Please sign in to comment.
You can’t perform that action at this time.