Browse Source
While we were unsetting the `payment->cmd` in case of a success to signal that we should not return to the JSON-RPC command twice, we were not doing that in the case of failures. This was causing multiple responses to a single incoming command, and `lightningd` was correctly killing the plugin. This issue was introduced through early returns (anything setting `payment->abort=true`) and was caused in Rusty's case through an MPP timeout. Fixes #3847 Reported-by: Rusty Russell <@rustyrussell> Signed-off-by: Christian Decker <@cdecker>fixup-0.9.0
2 changed files with 10 additions and 12 deletions
Loading…
Reference in new issue