Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
capabilities: deploy.assetLedgerData.capabilities.map((c) => { return getInterfaceCode(c); }),
owner: deploy.assetLedgerData.owner,
deploy.assetLedgerData.capabilities.forEach((c) => {
capabilities = capabilities + rightPad(getInterfaceCode(c), 64, '0', false);
});
capabilities: order.assetLedgerData.capabilities.map((c) => { return getInterfaceCode(c); }),
owner: order.assetLedgerData.ownerId,
.map((c) => rightPad(getInterfaceCode(c), 64, '0', false))
.join('');