rpc: update supermajority softfork object.
This commit is contained in:
parent
5dfdbfb8b1
commit
407f416f22
@ -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
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user