Browse Source

Add test for too-short decodepay (credit: @ZmnSCPxj)

ppa-0.6.1
practicalswift 7 years ago
committed by Rusty Russell
parent
commit
145e26371d
  1. 2
      tests/test_lightningd.py

2
tests/test_lightningd.py

@ -627,6 +627,8 @@ class LightningDTests(BaseLightningDTests):
assert b11['fallback']['type'] == 'P2WSH'
assert b11['fallback']['addr'] == 'bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3'
self.assertRaises(ValueError, l1.rpc.decodepay, '1111111')
def test_sendpay(self):
l1,l2 = self.connect()

Loading…
Cancel
Save