X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fln%2Fmsgs.rs;h=277d96d168733e890be98391b6017aa7df138b50;hb=ddbe53f836865b65591f40356ea604c6cb8be432;hp=6939af13e22d331804529388fa3265e814209358;hpb=7608483b0f5894cf2001af02248adac28bd2b269;p=rust-lightning diff --git a/src/ln/msgs.rs b/src/ln/msgs.rs index 6939af13..277d96d1 100644 --- a/src/ln/msgs.rs +++ b/src/ln/msgs.rs @@ -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, //TODO: Make this required + pub action: ErrorAction, } /// Struct used to return values from revoke_and_ack messages, containing a bunch of commitment