Closed bddap closed 5 years ago
handle_request should not return an option. Option::None may be interpreted as an error.
https://github.com/mimblewimble/grin-wallet/issues/88
Return a custom enum from handle_request:
pub enum HandleResponse { Call(Value), Notification, }
handle_request should not return an option. Option::None may be interpreted as an error.
https://github.com/mimblewimble/grin-wallet/issues/88
Solution
Return a custom enum from handle_request: