Reuse `BlockHash` from `validate_pow()`
authorDuncan Dean <duncangleeddean@gmail.com>
Fri, 22 Jul 2022 09:34:25 +0000 (11:34 +0200)
committerDuncan Dean <duncangleeddean@gmail.com>
Fri, 22 Jul 2022 09:45:06 +0000 (11:45 +0200)
commite256b3498ef35192cfa407e5fa6475cf62b37728
treed3dc8cb44259ce15794eb5d9eaf8a3aed47bf1a4
parent834fe6357da0b7e2c9f546c156b0ecc0d1006185
Reuse `BlockHash` from `validate_pow()`

The `validate_pow()` method now returns the BlockHash since rust-bitcoin
v0.26.2 thanks to jkczyz's PR (rust-bitcoin/rust-bitcoin/pull/572).
lightning-block-sync/src/poll.rs