mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
Add test for too-short decodepay (credit: @ZmnSCPxj)
This commit is contained in:
parent
a87c8a74b5
commit
145e26371d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue