From: Riccardo Casatta Date: Wed, 18 Nov 2020 08:27:01 +0000 (+0100) Subject: fix typo X-Git-Tag: v0.2.0~65^2 X-Git-Url: http://internal-gitweb-vhost/%22https:/parse/scripts/database/-script/-debug/static.TESTNET.html?a=commitdiff_plain;h=ae16c8b602183261c524ad6a87d0843537548c81;p=bdk fix typo --- diff --git a/src/blockchain/utils.rs b/src/blockchain/utils.rs index 4b3e232f..d2e8f990 100644 --- a/src/blockchain/utils.rs +++ b/src/blockchain/utils.rs @@ -110,7 +110,7 @@ pub trait ElectrumLikeSync { for el in flattened { // el.height = -1 means unconfirmed with unconfirmed parents // el.height = 0 means unconfirmed with confirmed parents - // but we threat those tx the same + // but we treat those tx the same if el.height <= 0 { txid_height.insert(el.tx_hash, None); } else {