1
0

Merge pull request #5582 from JeremyRand/test-lnchannel-outputs

Use NamedTuple notation for TxOutput in test_lnchannel
This commit is contained in:
ThomasV
2019-08-25 10:17:54 +02:00
committed by GitHub

View File

@@ -173,8 +173,8 @@ class TestChannel(unittest.TestCase):
maxDiff = 999
def assertOutputExistsByValue(self, tx, amt_sat):
for typ, scr, val in tx.outputs():
if val == amt_sat:
for o in tx.outputs():
if o.value == amt_sat:
break
else:
self.assertFalse()