mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
plugins/bcli: fake minimum fee if we're in regtest mode.
Saves a great deal of confusion for regtest users. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: JSON-RPC: If bitcoind won't give a fee estimate in regtest, use minimum.
This commit is contained in:
@@ -2282,7 +2282,7 @@ def test_fundee_forget_funding_tx_unconfirmed(node_factory, bitcoind):
|
||||
|
||||
@unittest.skipIf(not DEVELOPER, "needs dev_fail")
|
||||
def test_no_fee_estimate(node_factory, bitcoind, executor):
|
||||
l1 = node_factory.get_node(start=False)
|
||||
l1 = node_factory.get_node(start=False, options={'dev-no-fake-fees': True})
|
||||
|
||||
# Fail any fee estimation requests until we allow them further down
|
||||
l1.daemon.rpcproxy.mock_rpc('estimatesmartfee', {
|
||||
|
||||
Reference in New Issue
Block a user