Skip to content

Commit

Permalink
remove extra is
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Apr 28, 2023
1 parent 88c0873 commit 4c43ba5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/examples/event_error_details.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async fn main() {

let alice = AccountKeyring::Alice.to_account_id();
let balance_of_alice = api.get_account_data(&alice).unwrap().unwrap().free;
println!("[+] Alice's Free Balance is is {}\n", balance_of_alice);
println!("[+] Alice's Free Balance is {}\n", balance_of_alice);

let bob = AccountKeyring::Bob.to_account_id();
let balance_of_bob = api.get_account_data(&bob).unwrap().unwrap_or_default().free;
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/transfer_with_tungstenite_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn main() {
.unwrap();

let bob_balance = api.get_account_data(&bob.into()).unwrap().unwrap_or_default().free;
println!("[+] Bob's Free Balance is is {}\n", bob_balance);
println!("[+] Bob's Free Balance is {}\n", bob_balance);

// Generate extrinsic.
let xt = api.balance_transfer_allow_death(MultiAddress::Id(bob.into()), 1000000000000);
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/transfer_with_ws_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn main() {
let bob = sr25519::Public::from_ss58check("5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty")
.unwrap();
let bob_balance = api.get_account_data(&bob.into()).unwrap().unwrap_or_default().free;
println!("[+] Bob's Free Balance is is {}\n", bob_balance);
println!("[+] Bob's Free Balance is {}\n", bob_balance);

// Generate extrinsic.
let xt = api.balance_transfer_allow_death(MultiAddress::Id(bob.into()), 1000000000000);
Expand Down

0 comments on commit 4c43ba5

Please sign in to comment.