faucet: Update profile for new Secp256k1HdWallet options

This commit is contained in:
willclarktech
2021-04-20 16:46:04 +02:00
parent d049f6f8db
commit 47568bbe41
+1 -1
View File
@@ -19,7 +19,7 @@ export async function createWallets(
const numberOfIdentities = 1 + numberOfDistributors;
for (let i = 0; i < numberOfIdentities; i++) {
const path = makeCosmoshubPath(i);
const wallet = await createWallet(mnemonic, { hdPath: path, prefix: addressPrefix });
const wallet = await createWallet(mnemonic, { hdPaths: [path], prefix: addressPrefix });
const [{ address }] = await wallet.getAccounts();
if (logging) {
const role = i === 0 ? "token holder " : `distributor ${i}`;