mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 06:44:24 +01:00
elements,tests: skip over fee type outputs
They don't contain addresses
This commit is contained in:
@@ -474,6 +474,8 @@ def test_reserveinputs(node_factory, bitcoind, chainparams):
|
||||
|
||||
# We should have two outputs
|
||||
for vout in psbt['tx']['vout']:
|
||||
if chainparams['elements'] and vout['scriptPubKey']['type'] == 'fee':
|
||||
continue
|
||||
if vout['scriptPubKey']['addresses'][0] == addr:
|
||||
assert vout['value'] == sent
|
||||
out_found = True
|
||||
|
||||
Reference in New Issue
Block a user