mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
test-utils: add the bolt11 invoice
nice to have for making tests that assert on description/bolt data
This commit is contained in:
parent
ab94c557c7
commit
5c45939acf
1 changed files with 1 additions and 1 deletions
|
@ -1110,7 +1110,7 @@ class LightningNode(object):
|
|||
}
|
||||
|
||||
# sendpay is async now
|
||||
self.rpc.sendpay([routestep], rhash, payment_secret=psecret)
|
||||
self.rpc.sendpay([routestep], rhash, payment_secret=psecret, bolt11=inv['bolt11'])
|
||||
# wait for sendpay to comply
|
||||
result = self.rpc.waitsendpay(rhash)
|
||||
assert(result.get('status') == 'complete')
|
||||
|
|
Loading…
Add table
Reference in a new issue