From d539d8eaf83e8a9b94bb728534d002e1dc8617c4 Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Thu, 22 Sep 2022 11:02:41 -0400 Subject: [PATCH] Update tests for bdk-ffi v0.9.0 --- tests/test_bdk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_bdk.py b/tests/test_bdk.py index b667b30..e546592 100644 --- a/tests/test_bdk.py +++ b/tests/test_bdk.py @@ -38,8 +38,8 @@ class TestSimpleBip84Wallet(unittest.TestCase): ) wallet.sync(blockchain, None) balance = wallet.get_balance() - # print(f"Balance is {balance} sat") - assert balance > 0, "Balance is 0, send testnet coins to tb1qzg4mckdh50nwdm9hkzq06528rsu73hjxxzem3e" + # print(f"Balance is {balance.total} sat") + assert balance.total > 0, "Balance is 0, send testnet coins to tb1qzg4mckdh50nwdm9hkzq06528rsu73hjxxzem3e" if __name__ == '__main__':