tx: Adjust transactions to use the new API

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
Alexandru Vasile
2022-12-14 17:42:52 +00:00
parent 0e893cfe1a
commit e6271dd94e
4 changed files with 62 additions and 55 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ async fn handle_transfer_events() -> Result<(), Box<dyn std::error::Error>> {
use subxt::tx::TxStatus::*;
// Made it into a block, but not finalized.
if let InBlock(details) = ev {
if let InBlock(Some(details)) = ev {
println!(
"Transaction {:?} made it into block {:?}",
details.extrinsic_hash(),