Skip to content

Commit 1b68922

Browse files
committed
testutils: fix change_index
1 parent f5a1551 commit 1b68922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testutils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ impl DatabaseConnection for DummyDatabase {
204204
}
205205

206206
fn change_index(&mut self) -> bip32::ChildNumber {
207-
self.db.read().unwrap().deposit_index
207+
self.db.read().unwrap().change_index
208208
}
209209

210210
fn set_change_index(

0 commit comments

Comments
 (0)