Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand the return type of handle_onion_message_response.
The return type is expanded to handle three cases: 1. Ok(None) in case of no response to be sent. 2. Ok(Some(SendSuccess) and Err(SendError) in case of successful and unsuccessful queueing up of response messages respectively. This allows the user to get access to the Success/Failure status of the sending of response and handle it accordingly.
- Loading branch information