use latest chainpad-server

This commit is contained in:
ansuz committed 2020-02-04 11:15:44 -05:00
1 parent 46dfa026f0
commit f8f3a48e8b
3 files changed
+6 -7

No files matched your search

+1 -1
View File
@@ -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(); }