mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
`handle_error` must be called without `per_peer_state` mutex or `pending_events` mutex locks held or we may risk deadlocks. Previously we checked this in debug builds in the error path, but not in the success path. As it turns out, `funding_transaction_generated`'s error path does hold a `per_peer_state` lock, which we fix here as well as move the tests to happen unconditionally. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |