Uncommenting 'getRawBlock' logging

This commit is contained in:
Vivek Teega 2023-01-06 18:45:03 +05:30 committed by GitHub
parent d831d36835
commit b6a64351b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,7 +186,7 @@ BlockService.prototype.getRawBlock = function(hash, callback) {
if (!block || typeof block_raw == "undefined" || typeof block_raw_str_hex == "undefined" || block_raw_str_hex == '') { if (!block || typeof block_raw == "undefined" || typeof block_raw_str_hex == "undefined" || block_raw_str_hex == '') {
return callback(); return callback();
} }
//log.info("Testing getRawBlock " + block_raw_str_hex); log.info("Testing getRawBlock " + block_raw_str_hex);
callback(null, block.toRaw().toString('hex')); callback(null, block.toRaw().toString('hex'));
}); });
}; };