mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
pytest: update elements for new, more accurate feerate calc.
And skip some tests: I'd simply be pasting in the results, which is not very useful. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
a55cfab00d
commit
c0e3155bb6
@@ -3140,13 +3140,14 @@ def test_change_chaining(node_factory, bitcoind):
|
||||
l1.rpc.fundchannel(l3.info['id'], 10**7, minconf=0)
|
||||
|
||||
|
||||
@unittest.skipIf(TEST_NETWORK == 'liquid-regtest', "Fees on elements are different")
|
||||
def test_feerate_spam(node_factory, chainparams):
|
||||
l1, l2 = node_factory.line_graph(2)
|
||||
|
||||
# We constrain the value the opener has at its disposal so we get the
|
||||
# REMOTE feerate we are looking for below. This may be fragile and depends
|
||||
# on the transactions we generate.
|
||||
slack = 45000000 if not chainparams['elements'] else 68000000
|
||||
slack = 45000000
|
||||
|
||||
# Pay almost everything to l2.
|
||||
l1.pay(l2, 10**9 - slack)
|
||||
|
||||
Reference in New Issue
Block a user