core-lightning/tests
Rusty Russell 5e0a5c9111 JSONRPC: delinvoice: have a status argument.
delinvoice was orginally documented to only allow deletion of unpaid
invoices, but there might be reasons to delete paid ones or unexpired ones.

But we have to avoid the race where someone pays as it's deleted: the
easiest way is to have the caller tell us the status, and fail if
it's wrong.

Fixes: #477
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-01-19 22:23:45 +00:00
..
benchmark.py JSON: Rename rhash to payment_hash in delinvoice, invoice, listinvoice, waitinvoice, waitanyinvoice. 2018-01-14 23:10:10 +00:00
requirements.txt pytest: Using python-bitcoinlib instead of python-bitcoinrpc 2017-01-23 10:37:34 +01:00
test_lightningd.py JSONRPC: delinvoice: have a status argument. 2018-01-19 22:23:45 +00:00
utils.py test_lightningd.py: remove deprecated APIs. 2018-01-19 22:23:45 +00:00