Skip to content

Commit

Permalink
fix 1_3_0 feature activate height
Browse files Browse the repository at this point in the history
  • Loading branch information
sqfasd committed Jul 19, 2017
1 parent 15e4e46 commit 6c8d8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ Blocks.prototype.setLastBlock = function (block) {
private.lastBlock = block
if (global.Config.netVersion === 'mainnet') {
global.featureSwitch.enableLongId = private.lastBlock.height >= 1700000
global.featureSwitch.enable1_3_0 = private.lastBlock.height >= 2900000
global.featureSwitch.enable1_3_0 = private.lastBlock.height >= 2920000
} else {
global.featureSwitch.enableLongId = true
global.featureSwitch.enable1_3_0 = true
Expand Down

0 comments on commit 6c8d8e1

Please sign in to comment.