Skip to content

Commit

Permalink
[tutorial] fix rust hello_blockchain
Browse files Browse the repository at this point in the history
pub_key was passed in in place of auth_key
  • Loading branch information
msmouse authored and gregnazario committed Apr 27, 2022
1 parent c3f7cec commit a09b93a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ fn main() -> () {
println!("Alice: 0x{}", alice.address());
println!("Bob: 0x{}", bob.address());

faucet_client.fund_account(&alice.pub_key(), 10_000_000);
faucet_client.fund_account(&bob.pub_key(), 10_000_000);
faucet_client.fund_account(&alice.auth_key(), 10_000_000);
faucet_client.fund_account(&bob.auth_key(), 10_000_000);

println!("\n=== Initial Balances ===");
println!(
Expand Down

0 comments on commit a09b93a

Please sign in to comment.