git.delta.rocks / unique-network / refs/commits / 5fd35005c809

difftreelog

Update getCreateCollectionResult()

Antz0x0z2021-03-23parent: #c1873db.patch.diff
in: master
Fix helpers.ts, event 'CollectionCreated'

1 file changed

modifiedtests/src/util/helpers.tsdiffbeforeafterboth
118 // console.log(` ${phase}: ${section}.${method}:: ${data}`);118 // console.log(` ${phase}: ${section}.${method}:: ${data}`);
119 if (method == 'ExtrinsicSuccess') {119 if (method == 'ExtrinsicSuccess') {
120 success = true;120 success = true;
121 } else if ((section == 'nft') && (method == 'Created')) {121 } else if ((section == 'nft') && (method == 'CollectionCreated')) {
122 collectionId = parseInt(data[0].toString());122 collectionId = parseInt(data[0].toString());
123 }123 }
124 });124 });