Skip to content

Commit

Permalink
Fix dust to fee unittest for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryp Toon committed May 14, 2024
1 parent f165a23 commit d15dc38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_wallets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1816,8 +1816,7 @@ def test_wallet_add_dust_to_fee(self):
db_uri=self.database_uri)
to_key = wlt.get_key()
wlt.utxos_update()
t = wlt.send_to(to_key.address, 99992000, broadcast=True)
t.info()
t = wlt.send_to(to_key.address, 99992000, fee=7500, broadcast=True)
self.assertEqual(t.fee, 8000)
del wlt

Expand Down Expand Up @@ -2013,7 +2012,7 @@ def test_wallet_transaction_sign_with_wif(self):

def test_wallet_transaction_restore_saved_tx(self):
if os.getenv('UNITTEST_DATABASE') == 'mysql': # fixme
self.skipTest()
self.skipTest("Unittest not working for mysql at the moment")
w = wallet_create_or_open('test_wallet_transaction_restore', network='bitcoinlib_test',
db_uri=self.database_uri)
wk = w.get_key()
Expand Down

0 comments on commit d15dc38

Please sign in to comment.