Closed JssDWt closed 10 hours ago
The following fields might not be set in the htlc_accepted hook: https://github.com/Blockstream/greenlight/blob/2cd4d07e5d850f8e80357540c2d90779ebdf072c/libs/gl-plugin/src/lsp.rs#L18-L23
These should all be wrapped in Option<_>
Option<_>
unwrap is called on deserialization here: https://github.com/JssDWt/greenlight/blob/5dc32eb0d7163c5946cd9f58e698168fd0a1652d/libs/gl-plugin/src/lsp.rs#L55
unwrap
This may cause panicks deserializing the htlc_accepted payload.
The following fields might not be set in the htlc_accepted hook: https://github.com/Blockstream/greenlight/blob/2cd4d07e5d850f8e80357540c2d90779ebdf072c/libs/gl-plugin/src/lsp.rs#L18-L23
These should all be wrapped in
Option<_>
unwrap
is called on deserialization here: https://github.com/JssDWt/greenlight/blob/5dc32eb0d7163c5946cd9f58e698168fd0a1652d/libs/gl-plugin/src/lsp.rs#L55This may cause panicks deserializing the htlc_accepted payload.