[sync] check last derivation in cache to avoid recomputation
This commit is contained in:
parent
ac18fb119f
commit
4f99c77abe
@ -1268,7 +1268,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user