Update index.js

Added getRawBlack test data in logs to troubleshoot
This commit is contained in:
tripathyr 2023-01-03 20:21:29 +05:30 committed by GitHub
parent 4113d9cfd0
commit b4df8314a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,6 +184,7 @@ BlockService.prototype.getRawBlock = function(hash, callback) {
if (!block) {
return callback();
}
log.info("Testing getRawBlock " + block.toRaw().toString('hex'));
callback(null, block.toRaw().toString('hex'));
});
};