Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Niederb committed Aug 22, 2024
1 parent a3002bd commit 1ca838a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/async/examples/compose_extrinsic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,7 @@ async fn main() {

println!("[+] Composed Extrinsic:\n {:?}", xt);
let hash = api
.submit_and_watch_extrinsic_until_status(
xt.encode().into(),
&[TransactionStatusDeterminant::InBlock],
)
.submit_and_watch_extrinsic_until_status(xt, &[TransactionStatusDeterminant::InBlock])
.await
.unwrap()
.block_hash
Expand Down

0 comments on commit 1ca838a

Please sign in to comment.