Make field error of LightingError mandatory
[rust-lightning] / src / ln / msgs.rs
index 6939af13e22d331804529388fa3265e814209358..277d96d168733e890be98391b6017aa7df138b50 100644 (file)
@@ -547,7 +547,7 @@ pub struct LightningError {
        /// A human-readable message describing the error
        pub err: &'static str,
        /// The action which should be taken against the offending peer.
-       pub action: Option<ErrorAction>, //TODO: Make this required
+       pub action: ErrorAction,
 }
 
 /// Struct used to return values from revoke_and_ack messages, containing a bunch of commitment