Skip to content

Commit 6dec485

Browse files
committed
change example_transfer for inBlock
1 parent 137b432 commit 6dec485

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/examples/example_transfer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ fn main() {
4545

4646
println!("[+] Composed extrinsic: {:?}\n", xt);
4747

48-
// send and watch extrinsic until finalized
48+
// send and watch extrinsic until InBlock
4949
let tx_hash = api
50-
.send_extrinsic(xt.hex_encode(), XtStatus::Finalized)
50+
.send_extrinsic(xt.hex_encode(), XtStatus::InBlock)
5151
.unwrap();
52-
println!("[+] Transaction got finalized. Hash: {:?}\n", tx_hash);
52+
println!("[+] Transaction got inBlock. Hash: {:?}\n", tx_hash);
5353

5454
// verify that Bob's free Balance increased
5555
let bob = api.get_account_data(&to).unwrap();

0 commit comments

Comments
 (0)