Merge pull request #53 from savil/rename-error-msg-to-action
[rust-lightning] / src / ln / msgs.rs
index bc7c0ed98b3c38052df2fa06f8eccb9078a2bd1f..3a0719854cabde3813efe43fdfd3441ab7ede46f 100644 (file)
@@ -380,7 +380,7 @@ pub enum ErrorAction {
 
 pub struct HandleError { //TODO: rename me
        pub err: &'static str,
-       pub msg: Option<ErrorAction>, //TODO: Make this required and rename it
+       pub action: Option<ErrorAction>, //TODO: Make this required
 }
 
 /// Struct used to return values from revoke_and_ack messages, containing a bunch of commitment