mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
We had an occasional race where we hadn't gotten the remote revocation before submitting fulfill (spotted by the HTLC state transition code). Disallow this, but also add to the json output so we can wait for an HTLC to be irrevocably committed. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>