mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35: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
7a727eb69a
commit
c1615b31ee
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) {
|
for (var record in rwSet) {
|
||||||
|
|
||||||
// ignore lscc events
|
// ignore lscc events
|
||||||
if (rwSet[record].namespace != '_lifecycle') {
|
if (rwSet[record].namespace != 'lscc' && rwSet[record].namespace != '_lifecycle') {
|
||||||
// create object to store properties
|
// create object to store properties
|
||||||
const writeObject = new Object();
|
const writeObject = new Object();
|
||||||
writeObject.blocknumber = blockNumber;
|
writeObject.blocknumber = blockNumber;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue