mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
elements: Use chainparams when the test relies on addresses
We were checking against hardcoded hrp and prefixes. Now we parametrize via the chainparams. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
84144bcef6
commit
67fc8ffbcf
@@ -1495,7 +1495,7 @@ def test_permfail(node_factory, bitcoind):
|
||||
addr = txout['scriptPubKey']['addresses'][0]
|
||||
assert(addr == o['address'])
|
||||
|
||||
addr = l1.bitcoin.rpc.getnewaddress()
|
||||
addr = l1.bitcoin.getnewaddress()
|
||||
l1.rpc.withdraw(addr, "all")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user