diff --git a/src/commands/assets/getAsset.ts b/src/commands/assets/getAsset.ts index c2394b4..ee83984 100644 --- a/src/commands/assets/getAsset.ts +++ b/src/commands/assets/getAsset.ts @@ -54,7 +54,7 @@ export const getAsset = async ( } if (!argv.agreementId) { - logger.info(chalk.dim(`Ordering asset: ${did}`)) + logger.info(chalk.dim(`No agreementId. Ordering asset using reference ${serviceReference}: ${did}`)) agreementId = await nvmApp.sdk.assets.order(did, serviceReference, account) } else { agreementId = argv.agreementId diff --git a/src/utils/config.ts b/src/utils/config.ts index d514869..8ab71d0 100644 --- a/src/utils/config.ts +++ b/src/utils/config.ts @@ -1,4 +1,4 @@ -import ethers, { HDNodeWallet, Mnemonic, defaultPath, getIndexedAccountPath } from 'ethers' +import ethers, { HDNodeWallet, Mnemonic, getIndexedAccountPath } from 'ethers' import dotenv from 'dotenv' import fs from 'fs' import { mkdirSync, writeFileSync } from 'fs'