From bf427672104fa7b8ed3738b99c4e3aea24428fbe Mon Sep 17 00:00:00 2001 From: Antioch Peverell Date: Thu, 20 Dec 2018 22:37:13 +0000 Subject: [PATCH] start search with min height 0 (#2195) --- chain/src/chain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/src/chain.rs b/chain/src/chain.rs index 97e86ea9d..1afd67006 100644 --- a/chain/src/chain.rs +++ b/chain/src/chain.rs @@ -1130,7 +1130,7 @@ impl Chain { let (_, pos) = txhashset.is_unspent(output_ref)?; - let mut min = 1; + let mut min = 0; let mut max = { let head = self.head()?; head.height