File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ where
135135 if tx_status. confirmed {
136136 if let Some ( tx) = client. get_tx ( & txid) . await ? {
137137 if let Some ( block_height) = tx_status. block_height {
138+ // TODO: Switch to `get_header_by_hash` once released upstream (https://github.com/bitcoindevkit/rust-esplora-client/pull/17)
138139 let block_header = client. get_header ( block_height) . await ?;
139140 if let Some ( merkle_proof) = client. get_merkle_proof ( & txid) . await ? {
140141 if block_height == merkle_proof. block_height {
@@ -175,6 +176,7 @@ where
175176 let spending_txid = output_status. txid . unwrap ( ) ;
176177 if let Some ( spending_tx) = client. get_tx ( & spending_txid) . await ? {
177178 let block_height = spending_tx_status. block_height . unwrap ( ) ;
179+ // TODO: Switch to `get_header_by_hash` once released upstream (https://github.com/bitcoindevkit/rust-esplora-client/pull/17)
178180 let block_header = client. get_header ( block_height) . await ?;
179181 if let Some ( merkle_proof) =
180182 client. get_merkle_proof ( & spending_txid) . await ?
You can’t perform that action at this time.
0 commit comments