chain: avoid getDeployments in spv mode. see #128.
This commit is contained in:
parent
87f9d58d47
commit
66dfce4397
@ -2148,6 +2148,9 @@ Chain.prototype.getDeploymentState = co(function* getDeploymentState() {
|
||||
return this.state;
|
||||
}
|
||||
|
||||
if (this.options.spv)
|
||||
return this.state;
|
||||
|
||||
return yield this.getDeployments(this.tip.toHeaders(), prev);
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user