Skip to content

Commit 56dbf88

Browse files
committed
fix: clear all wallet indexes on wipe
1 parent 44bfbc8 commit 56dbf88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/to/bitkit/data/backup/VssStoreIdProvider.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class VssStoreIdProvider @Inject constructor(
3434
}
3535
}
3636

37-
fun clearCache(walletIndex: Int = 0) {
38-
cacheMap.remove(walletIndex)
37+
fun clearCache() {
38+
cacheMap.clear()
3939
}
4040

4141
companion object {

0 commit comments

Comments
 (0)