tMerge pull request #5582 from JeremyRand/test-lnchannel-outputs - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 95383a582062c975d1da6e435378eca6418b8830 DIR parent 2944ae1b2f588419773cafe0b6b620f071cf70e0 HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 25 Aug 2019 10:17:54 +0200 Merge pull request #5582 from JeremyRand/test-lnchannel-outputs Use NamedTuple notation for TxOutput in test_lnchannel Diffstat: M electrum/tests/test_lnchannel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/electrum/tests/test_lnchannel.py b/electrum/tests/test_lnchannel.py t@@ -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()