Skip to content

Commit

Permalink
fix: create wallet arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jan 1, 2025
1 parent 178dc37 commit 391593e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Home() {
if (await hasPassword()) {
password = prompt("Please enter the password") || undefined;
}
const { wallet, error } = await createWallet(password);
const { wallet, error } = await createWallet(undefined, password);
if (error) {
throw new Error(error);
}
Expand Down

0 comments on commit 391593e

Please sign in to comment.