electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 95383a582062c975d1da6e435378eca6418b8830
parent 2944ae1b2f588419773cafe0b6b620f071cf70e0
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:
Melectrum/tests/test_lnchannel.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/electrum/tests/test_lnchannel.py b/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()