start search with min height 0 (#2195)

This commit is contained in:
Antioch Peverell 2018-12-20 22:37:13 +00:00 committed by GitHub
parent cab438efcb
commit bf42767210
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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