Skip to content

Commit

Permalink
Add temporary delta to fix unitttests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryp Toon committed Nov 2, 2024
1 parent f7acb81 commit 8ef7fd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_wallets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2388,7 +2388,8 @@ def test_wallet_anti_fee_sniping(self):
w.utxo_add(w.get_key().address, 1234567, os.urandom(32).hex(), 1)
t = w.send_to('tb1qrjtz22q59e76mhumy0p586cqukatw5vcd0xvvz', 123456)
block_height = Service(network='testnet', cache_uri='').blockcount()
self.assertAlmostEqual(t.locktime, block_height+1, delta=50)
# FIXME: remove delta when testnet network is stable again
self.assertAlmostEqual(t.locktime, block_height+1, delta=500)

w2 = wallet_create_or_open('antifeesnipingtestwallet2', network='testnet', anti_fee_sniping=True,
db_uri=self.database_uri)
Expand Down

0 comments on commit 8ef7fd6

Please sign in to comment.