feat: expose commit method on wallet type

This commit is contained in:
thunderbiscuit committed 2024-05-08 12:22:49 -04:00
1 parent 72b5bfd4c9
commit e9a76287c8
10 files changed
+36 -21

No files matched your search

+2
View File
@@ -27,6 +27,7 @@ class LiveTxBuilderTest(unittest.TestCase):
parallel_requests=1
)
wallet.apply_update(update)
wallet.commit()
self.assertGreater(wallet.get_balance().total, 0)
@@ -62,6 +63,7 @@ class LiveTxBuilderTest(unittest.TestCase):
parallel_requests=1
)
wallet.apply_update(update)
wallet.commit()
self.assertGreater(wallet.get_balance().total, 0)
+2
View File
@@ -27,6 +27,7 @@ class LiveWalletTest(unittest.TestCase):
parallel_requests=1
)
wallet.apply_update(update)
wallet.commit()
self.assertGreater(wallet.get_balance().total, 0)
@@ -58,6 +59,7 @@ class LiveWalletTest(unittest.TestCase):
parallel_requests=1
)
wallet.apply_update(update)
wallet.commit()
self.assertGreater(wallet.get_balance().total, 0)