We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33790f1 commit f2acf78Copy full SHA for f2acf78
1 file changed
crates/bitcoin-da/src/monitoring.rs
@@ -704,11 +704,7 @@ impl MonitoringService {
704
.info
705
.blockhash
706
.ok_or(MonitorError::BlockHashNotSet)?;
707
- let block_height = self
708
- .client
709
- .get_block_info(&block_hash)
710
- .await?
711
- .height as u64;
+ let block_height = self.client.get_block_info(&block_hash).await?.height as u64;
712
713
if confirmations >= self.finality_depth {
714
TxStatus::Finalized {
0 commit comments