fix callback.

This commit is contained in:
Christopher Jeffrey 2016-02-08 20:49:50 -08:00
parent 36c3d72021
commit bcd68c4ed8

View File

@ -226,7 +226,7 @@ Chain.prototype.preload = function preload(callback) {
});
stream.on('end', function() {
return callback(null, height + 1);
return callback(height + 1);
});
};