From c1615b31eef94cf4e24557530c3b36ac81d41741 Mon Sep 17 00:00:00 2001 From: Indranil Majumder Date: Fri, 24 Sep 2021 10:01:18 +0530 Subject: [PATCH] Checking both the old and new lifecycle name Signed-off-by: Indranil Majumder --- off_chain_data/blockProcessing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/off_chain_data/blockProcessing.js b/off_chain_data/blockProcessing.js index a2acb286..83275abc 100644 --- a/off_chain_data/blockProcessing.js +++ b/off_chain_data/blockProcessing.js @@ -86,7 +86,7 @@ exports.processBlockEvent = async function (channelname, block, use_couchdb, nan for (var record in rwSet) { // ignore lscc events - if (rwSet[record].namespace != '_lifecycle') { + if (rwSet[record].namespace != 'lscc' && rwSet[record].namespace != '_lifecycle') { // create object to store properties const writeObject = new Object(); writeObject.blocknumber = blockNumber;