networks: always activate segwit for regtest
This commit is contained in:
parent
48f38a4a65
commit
53a09b0a02
@ -2389,6 +2389,9 @@ class Chain extends AsyncEmitter {
|
||||
async getState(prev, deployment) {
|
||||
const bit = deployment.bit;
|
||||
|
||||
if (deployment.startTime === -1)
|
||||
return thresholdStates.ACTIVE;
|
||||
|
||||
let window = this.network.minerWindow;
|
||||
let threshold = this.network.activationThreshold;
|
||||
|
||||
|
||||
@ -801,7 +801,7 @@ regtest.deployments = {
|
||||
segwit: {
|
||||
name: 'segwit',
|
||||
bit: 1,
|
||||
startTime: 0,
|
||||
startTime: -1,
|
||||
timeout: 0xffffffff,
|
||||
threshold: -1,
|
||||
window: -1,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user