rpc: update supermajority softfork object.

This commit is contained in:
Christopher Jeffrey 2016-11-03 15:41:47 -07:00
parent 5dfdbfb8b1
commit 407f416f22
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -615,17 +615,8 @@ RPC.prototype._deployment = function _deployment(id, version, status) {
return {
id: id,
version: version,
enforce: {
status: status,
found: status ? this.network.block.majorityWindow : 0,
required: this.network.block.majorityEnforceUpgrade,
window: this.network.block.majorityWindow
},
reject: {
status: status,
found: status ? this.network.block.majorityWindow : 0,
required: this.network.block.majorityRejectOutdated,
window: this.network.block.majorityWindow
status: status
}
};
};