From 9496fc2540cf9f210a339d095b6693899c45d500 Mon Sep 17 00:00:00 2001 From: willclarktech Date: Tue, 6 Apr 2021 17:11:02 +0200 Subject: [PATCH] faucet: Update for hd wallet change --- packages/faucet/src/profile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/faucet/src/profile.ts b/packages/faucet/src/profile.ts index cfc443878e..05cefa176a 100644 --- a/packages/faucet/src/profile.ts +++ b/packages/faucet/src/profile.ts @@ -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, path, addressPrefix); + const wallet = await createWallet(mnemonic, { hdPath: path, prefix: addressPrefix }); const [{ address }] = await wallet.getAccounts(); if (logging) { const role = i === 0 ? "token holder " : `distributor ${i}`;