mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
option_data_loss_protect: reenable by default
This commit is contained in:
committed by
Rusty Russell
parent
4a45caae32
commit
28699f0eca
@@ -1,7 +1,7 @@
|
||||
from collections import namedtuple
|
||||
from fixtures import * # noqa: F401,F403
|
||||
from lightning import RpcError
|
||||
from utils import DEVELOPER, only_one, wait_for, sync_blockheight, VALGRIND, EXPERIMENTAL_FEATURES
|
||||
from utils import DEVELOPER, only_one, wait_for, sync_blockheight, VALGRIND
|
||||
|
||||
|
||||
import os
|
||||
@@ -1009,10 +1009,7 @@ def test_forget_channel(node_factory):
|
||||
|
||||
def test_peerinfo(node_factory, bitcoind):
|
||||
l1, l2 = node_factory.line_graph(2, fundchannel=False, opts={'may_reconnect': True})
|
||||
if EXPERIMENTAL_FEATURES:
|
||||
lfeatures = '8a'
|
||||
else:
|
||||
lfeatures = '88'
|
||||
lfeatures = '8a'
|
||||
# Gossiping but no node announcement yet
|
||||
assert l1.rpc.getpeer(l2.info['id'])['connected']
|
||||
assert len(l1.rpc.getpeer(l2.info['id'])['channels']) == 0
|
||||
@@ -1255,7 +1252,6 @@ def test_funder_simple_reconnect(node_factory, bitcoind):
|
||||
|
||||
|
||||
@unittest.skipIf(not DEVELOPER, "needs LIGHTNINGD_DEV_LOG_IO")
|
||||
@unittest.skipIf(not EXPERIMENTAL_FEATURES, "needs option_data_loss_protect")
|
||||
def test_dataloss_protection(node_factory, bitcoind):
|
||||
l1 = node_factory.get_node(may_reconnect=True, log_all_io=True,
|
||||
feerates=(7500, 7500, 7500))
|
||||
|
||||
Reference in New Issue
Block a user