Skip to content

Commit

Permalink
Checking both the old and new lifecycle name
Browse files Browse the repository at this point in the history
Signed-off-by: Indranil Majumder <[email protected]>
  • Loading branch information
majumin authored and denyeart committed Sep 29, 2021
1 parent 7a727eb commit c1615b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion off_chain_data/blockProcessing.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c1615b3

Please sign in to comment.