X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Futil%2Fevents.rs;h=e810368dbc3a5b0066998fef1de3d4ef1f3e894c;hb=ddbe53f836865b65591f40356ea604c6cb8be432;hp=96a5b48a76d26877cf58545528fb99f4c3e3b91b;hpb=7608483b0f5894cf2001af02248adac28bd2b269;p=rust-lightning diff --git a/src/util/events.rs b/src/util/events.rs index 96a5b48a..e810368d 100644 --- a/src/util/events.rs +++ b/src/util/events.rs @@ -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 + 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.