mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
Checking both the old and new lifecycle name
Signed-off-by: Indranil Majumder <indranil.majumder@navis.com>
This commit is contained in:
parent
5533bffe2d
commit
70df4cc24d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue