Fix Android tests to account for new AddressIndex sealed class

This commit is contained in:
thunderbiscuit
2023-02-17 15:49:20 -05:00
parent f121372c73
commit 5ca1d17adb

View File

@@ -54,7 +54,7 @@ class AndroidLibTest {
@Test
fun memoryWalletNewAddress() {
val wallet = Wallet(descriptor, null, Network.TESTNET, databaseConfig)
val address = wallet.getAddress(AddressIndex.NEW).address
val address = wallet.getAddress(AddressIndex.New).address
assertEquals("tb1qzg4mckdh50nwdm9hkzq06528rsu73hjxxzem3e", address)
}