Skip to content

Commit a7dd928

Browse files
committed
fix: implicit self
1 parent 4a9b3d8 commit a7dd928

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/services/compression/src/ports/block_source.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ impl BlockWithMetadataExt for BlockWithMetadata {
1717
}
1818

1919
fn height(&self) -> &BlockHeight {
20-
<Self as BlockWithMetadataExt>::block(self)
21-
.header()
22-
.height()
20+
self.block().header().height()
2321
}
2422

2523
fn block(&self) -> &fuel_core_types::blockchain::block::Block {

0 commit comments

Comments
 (0)