mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-19 21:14:38 +01:00
elements: Parametrize the sample addresses we test against
Since elements addresses look quite different from the bitcoin mainnet addresses I just added a sample to the chainparams fixture. In addition I extracted some of the fixed strings to reference chainparams instead. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
9e333f2416
commit
8a69ea7bf5
@@ -1,6 +1,7 @@
|
||||
from collections import namedtuple
|
||||
from decimal import Decimal
|
||||
from fixtures import * # noqa: F401,F403
|
||||
from fixtures import TEST_NETWORK
|
||||
from flaky import flaky # noqa: F401
|
||||
from lightning import RpcError
|
||||
from utils import DEVELOPER, only_one, wait_for, sync_blockheight, VALGRIND, TIMEOUT, SLOW_MACHINE
|
||||
@@ -979,6 +980,7 @@ def test_funding_cancel_race(node_factory, bitcoind, executor):
|
||||
assert num_complete > 0
|
||||
|
||||
|
||||
@unittest.skipIf(TEST_NETWORK != 'regtest', "External wallet support doesn't work with elements yet.")
|
||||
def test_funding_external_wallet(node_factory, bitcoind):
|
||||
l1 = node_factory.get_node()
|
||||
l2 = node_factory.get_node()
|
||||
|
||||
Reference in New Issue
Block a user