Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 8fa630a

Browse files
0x-j0xmaayan
andauthored
cannot request to fund 0 amount (#941)
* cannot request to fund 0 amount * Update apps/nextra/pages/en/build/guides/first-transaction.mdx Co-authored-by: Maayan <[email protected]> --------- Co-authored-by: Maayan <[email protected]>
1 parent b94b651 commit 8fa630a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

apps/nextra/pages/en/build/guides/first-transaction.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,6 @@ You can jump to the full code sample [here](#full-code-sample) or continue readi
194194
accountAddress: alice.accountAddress,
195195
amount: 100_000_000, // 1 APT = 100,000,000 octas
196196
});
197-
await aptos.fundAccount({
198-
accountAddress: bob.accountAddress,
199-
amount: 0, // Bob starts with 0 APT
200-
});
201197
console.log("Accounts funded successfully");
202198

203199
// Check initial balances
@@ -311,8 +307,7 @@ You can jump to the full code sample [here](#full-code-sample) or continue readi
311307
bob_amount = 0 # Bob starts with 0 APT
312308

313309
await faucet_client.fund_account(alice.address(), alice_amount)
314-
await faucet_client.fund_account(bob.address(), bob_amount)
315-
print("Accounts funded successfully")
310+
print("Account funded successfully")
316311

317312
# Check initial balances
318313
alice_balance = await rest_client.account_balance(alice.address())

0 commit comments

Comments
 (0)