feat: expose commit method on wallet type

This commit is contained in:
thunderbiscuit
2024-05-08 11:33:35 -04:00
parent 72b5bfd4c9
commit e9a76287c8
10 changed files with 36 additions and 21 deletions

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)

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)