mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 06:54:30 +01:00
Add test for too-short decodepay (credit: @ZmnSCPxj)
This commit is contained in:
committed by
Rusty Russell
parent
a87c8a74b5
commit
145e26371d
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user