Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update migrations #900

Merged
merged 11 commits into from
Aug 27, 2024
4 changes: 2 additions & 2 deletions lib/blockchain/chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ class Chain extends AsyncEmitter {
* Verify a renewal.
* @param {Hash} hash
* @param {Number} height
* @returns {Boolean}
* @returns {Promise<Boolean>}
*/

async verifyRenewal(hash, height) {
Expand Down Expand Up @@ -4010,8 +4010,8 @@ class ChainOptions {
}

if (options.prune != null) {
assert(!options.spv, 'Can not prune in spv mode.');
assert(typeof options.prune === 'boolean');
assert(!options.prune || !options.spv, 'Can not prune in spv mode.');
this.prune = options.prune;
}

Expand Down
Loading
Loading