We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 137b432 commit 6dec485Copy full SHA for 6dec485
src/examples/example_transfer.rs
@@ -45,11 +45,11 @@ fn main() {
45
46
println!("[+] Composed extrinsic: {:?}\n", xt);
47
48
- // send and watch extrinsic until finalized
+ // send and watch extrinsic until InBlock
49
let tx_hash = api
50
- .send_extrinsic(xt.hex_encode(), XtStatus::Finalized)
+ .send_extrinsic(xt.hex_encode(), XtStatus::InBlock)
51
.unwrap();
52
- println!("[+] Transaction got finalized. Hash: {:?}\n", tx_hash);
+ println!("[+] Transaction got inBlock. Hash: {:?}\n", tx_hash);
53
54
// verify that Bob's free Balance increased
55
let bob = api.get_account_data(&to).unwrap();
0 commit comments