Make field error of LightingError mandatory
[rust-lightning] / src / util / events.rs
index 96a5b48a76d26877cf58545528fb99f4c3e3b91b..e810368dbc3a5b0066998fef1de3d4ef1f3e894c 100644 (file)
@@ -210,7 +210,7 @@ pub enum MessageSendEvent {
                /// The node_id of the node which should receive this message
                node_id: PublicKey,
                /// The action which should be taken.
-               action: Option<msgs::ErrorAction>
+               action: msgs::ErrorAction
        },
        /// When a payment fails we may receive updates back from the hop where it failed. In such
        /// cases this event is generated so that we can inform the router of this information.