mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
elements: Search for the correct address and invoice prefixes
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
90a69e04cd
commit
e4c343a386
@@ -438,7 +438,7 @@ def test_bech32_funding(node_factory, chainparams):
|
||||
# fund a bech32 address and then open a channel with it
|
||||
res = l1.openchannel(l2, 20000, 'bech32')
|
||||
address = res['address']
|
||||
assert address[0:4] == chainparams['bip173_prefix']
|
||||
assert address.startswith(chainparams['bip173_prefix'])
|
||||
|
||||
# probably overly paranoid checking
|
||||
wallettxid = res['wallettxid']
|
||||
|
||||
Reference in New Issue
Block a user