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
135
135
if tx_status. confirmed {
136
136
if let Some ( tx) = client. get_tx ( & txid) . await ? {
137
137
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)
138
139
let block_header = client. get_header ( block_height) . await ?;
139
140
if let Some ( merkle_proof) = client. get_merkle_proof ( & txid) . await ? {
140
141
if block_height == merkle_proof. block_height {
@@ -175,6 +176,7 @@ where
175
176
let spending_txid = output_status. txid . unwrap ( ) ;
176
177
if let Some ( spending_tx) = client. get_tx ( & spending_txid) . await ? {
177
178
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)
178
180
let block_header = client. get_header ( block_height) . await ?;
179
181
if let Some ( merkle_proof) =
180
182
client. get_merkle_proof ( & spending_txid) . await ?
You can’t perform that action at this time.
0 commit comments