Skip to content

Commit f2acf78

Browse files
committed
style: run cargo fmt
1 parent 33790f1 commit f2acf78

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

crates/bitcoin-da/src/monitoring.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -704,11 +704,7 @@ impl MonitoringService {
704704
.info
705705
.blockhash
706706
.ok_or(MonitorError::BlockHashNotSet)?;
707-
let block_height = self
708-
.client
709-
.get_block_info(&block_hash)
710-
.await?
711-
.height as u64;
707+
let block_height = self.client.get_block_info(&block_hash).await?.height as u64;
712708

713709
if confirmations >= self.finality_depth {
714710
TxStatus::Finalized {

0 commit comments

Comments
 (0)