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

pull/1/head
ansuz 4 years ago
parent 230425c3de
commit 9bb884cac6

@ -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);
});

Loading…
Cancel
Save