diff --git a/examples/async/examples/compose_extrinsic.rs b/examples/async/examples/compose_extrinsic.rs index b4f69614b..5d9cd43a2 100644 --- a/examples/async/examples/compose_extrinsic.rs +++ b/examples/async/examples/compose_extrinsic.rs @@ -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