use latest chainpad-server
This commit is contained in:
@@ -747,7 +747,7 @@ module.exports.create = function (cfg, cb) {
|
||||
|
||||
// TODO compute lastKnownHash in a manner such that it will always skip past the metadata line?
|
||||
getHistoryAsync(channelName, lastKnownHash, false, (msg, readMore) => {
|
||||
if (!msg) { return; }
|
||||
if (!msg) { return; } // XXX
|
||||
msgCount++;
|
||||
// avoid sending the metadata message a second time
|
||||
if (isMetadataMessage(msg) && metadata_cache[channelName]) { return readMore(); }
|
||||
|
||||
Reference in New Issue
Block a user