Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle
/settle
in background task (#2908)
# Description While working on a PR to synchronize the runloop to the blockstream I noticed that the autopilot currently waits till 1 block past the deadline. When changing that to aborting on the deadline block tests started to fail because we no longer submitted the cancellation on-chain. The reason is that the `/settle` handle stops running in the driver when the `autopilot` aborts the call due to reaching the deadline. # Changes Run `/settle` handler in a background task to ensure that we correctly submit the settlement or cancellation even if the autopilot aborts the `/settle` call. ## How to test e2e test should continue to work
- Loading branch information