fix a type error caused by (my) invalid API use

This commit is contained in:
ansuz 2021-07-06 18:21:47 +05:30
parent 230425c3de
commit 9bb884cac6
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ Block.validateAncestorProof = function (Env, proof, _cb) {
}
// else fall through to next step
}).nThen(function () {
Block.check(Env, pub, function (err) {
BlockStore.check(Env, pub, function (err) {
if (err) { return void cb('E_MISSING_ANCESTOR'); }
cb(void 0, pub);
});