Browse Source

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

Use NamedTuple notation for TxOutput in test_lnchannel
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
committed by GitHub
parent
commit
95383a5820
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      electrum/tests/test_lnchannel.py

4
electrum/tests/test_lnchannel.py

@ -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()

Loading…
Cancel
Save