Merge commit 'refs/pull/166/head' of github.com:bitcoindevkit/bdk

This commit is contained in:
Alekos Filini
2020-11-18 10:31:51 +01:00
10 changed files with 530 additions and 422 deletions

View File

@@ -1269,7 +1269,7 @@ where
if self
.database
.borrow()
.get_script_pubkey_from_path(ScriptType::External, max_address)?
.get_script_pubkey_from_path(ScriptType::External, max_address.saturating_sub(1))?
.is_none()
{
run_setup = true;