Update tests for new AddressInfo type

This commit is contained in:
thunderbiscuit
2023-03-28 14:26:56 -04:00
parent e7e1a6057e
commit f26031db80
5 changed files with 4 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ class JvmLibTest {
@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.asString()
assertEquals("tb1qzg4mckdh50nwdm9hkzq06528rsu73hjxxzem3e", address)
}