diff --git a/subxt/src/backend/unstable/mod.rs b/subxt/src/backend/unstable/mod.rs index d1bbdde971..3f8e7f1312 100644 --- a/subxt/src/backend/unstable/mod.rs +++ b/subxt/src/backend/unstable/mod.rs @@ -474,8 +474,10 @@ impl Backend for UnstableBackend { // Optimization: once we have a `finalized_hash`, we only care about finalized // block refs now and can avoid bothering to save new blocks. if finalized_hash.is_none() { - seen_blocks - .insert(ev.block_hash.hash(), (SeenBlockMarker::New, ev.block_hash)); + seen_blocks.insert( + ev.block_hash.hash(), + (SeenBlockMarker::New, ev.block_hash), + ); } } FollowEvent::Finalized(ev) => { @@ -485,7 +487,7 @@ impl Backend for UnstableBackend { (SeenBlockMarker::Finalized, block_ref), ); } - }, + } _ => {} } continue;