Update tests for new AddressInfo type

This commit is contained in:
thunderbiscuit committed 2023-03-28 15:05:42 -04:00
1 parent e7e1a6057e
commit f26031db80
5 files changed
+4 -9

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ class TestSimpleBip84Wallet(unittest.TestCase):
database_config=db_config
)
address_info = wallet.get_address(bdk.AddressIndex.LAST_UNUSED())
address = address_info.address
address = address_info.address.as_string()
# print(f"New address is {address}")
assert address == "tb1qzg4mckdh50nwdm9hkzq06528rsu73hjxxzem3e", f"Wrong address {address}, should be tb1qzg4mckdh50nwdm9hkzq06528rsu73hjxxzem3e"