Update _code-samples/nft-modular-tutorials/account-support.js

Co-authored-by: Maria Shodunke <maria-robobug@users.noreply.github.com>
This commit is contained in:
Dennis Dawson
2025-06-06 12:34:16 -07:00
committed by GitHub
parent 0dc41bd569
commit 623a5d30a3

View File

@@ -22,7 +22,7 @@ async function getAccount() {
let faucetHost = null let faucetHost = null
const my_wallet = (await client.fundWallet(null, { faucetHost})).wallet const my_wallet = (await client.fundWallet(null, { faucetHost})).wallet
const newAccount = [my_wallet.address, my_wallet.seed] const newAccount = [my_wallet.address, my_wallet.seed]
return (newAccount) return newAccount
} }
catch (error) { catch (error) {
console.error('===Error getting account:', error); console.error('===Error getting account:', error);