mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
For the permfail tests the sendpay call is supposed to fail, so this was printing stacktraces upon success. Running in futures captures any thrown exceptions and rethrows them when calling `result()`, in our case we just ignore them. Signed-off-by: Christian Decker <decker.christian@gmail.com>