testutils: fix change_index

This commit is contained in:
jp1ac4 2024-02-07 12:05:47 +00:00 committed by Antoine Poinsot
parent f19e872814
commit c88224ca71
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -212,7 +212,7 @@ impl DatabaseConnection for DummyDatabase {
}
fn change_index(&mut self) -> bip32::ChildNumber {
self.db.read().unwrap().deposit_index
self.db.read().unwrap().change_index
}
fn set_change_index(