[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
|
if self
|
||||||
.database
|
.database
|
||||||
.borrow()
|
.borrow()
|
||||||
.get_script_pubkey_from_path(ScriptType::External, max_address)?
|
.get_script_pubkey_from_path(ScriptType::External, max_address.saturating_sub(1))?
|
||||||
.is_none()
|
.is_none()
|
||||||
{
|
{
|
||||||
run_setup = true;
|
run_setup = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user