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 a35ed90 commit 458978bCopy full SHA for 458978b
src/access.rs
@@ -137,13 +137,15 @@ where
137
if let Some(block_height) = tx_status.block_height {
138
let block_header = client.get_header(block_height).await?;
139
if let Some(merkle_proof) = client.get_merkle_proof(&txid).await? {
140
- confirmed_txs.push((
141
- tx,
142
- block_height,
143
- block_header,
144
- merkle_proof.pos,
145
- ));
146
- continue;
+ if block_height == merkle_proof.block_height {
+ confirmed_txs.push((
+ tx,
+ block_height,
+ block_header,
+ merkle_proof.pos,
+ ));
147
+ continue;
148
+ }
149
}
150
151
0 commit comments