Update block_handler.js

This commit is contained in:
tripathyr 2022-01-25 00:31:31 +05:30 committed by GitHub
parent 522d00bd52
commit 2921e389df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,7 +242,7 @@ ProcessSerial.prototype._write = function(block, enc, callback) {
self.block.once('concurrentaddblock', function() {
if(!check()) {
var err = log.warn('Concurrent block ' + self.block.concurrentTip.__height + ' is less than ' + block.__height);
var err = 'Concurrent block ' + self.block.concurrentTip.__height + ' is less than ' + block.__height;
return self.emit('error', err);
}
self._process(block, callback);