X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Fevents.rs;h=82c215a2697692b453e50581edcedf572faf5d32;hb=07a7e34f89323540f17abbf9a4b708d27f6bd18f;hp=43a2dc3bd6f881ab4ec69241f30f5a2b37651a8e;hpb=ad5f72894c9fa501e3d71fee7f12f8cfdc9dd55e;p=rust-lightning diff --git a/lightning/src/util/events.rs b/lightning/src/util/events.rs index 43a2dc3b..82c215a2 100644 --- a/lightning/src/util/events.rs +++ b/lightning/src/util/events.rs @@ -13,7 +13,7 @@ use util::ser::{Writeable, Writer, MaybeReadable, Readable}; use bitcoin::blockdata::script::Script; -use secp256k1::key::PublicKey; +use bitcoin::secp256k1::key::PublicKey; use std::time::Duration; @@ -332,9 +332,9 @@ pub enum MessageSendEvent { 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. + /// cases this event is generated so that we can inform the network graph of this information. PaymentFailureNetworkUpdate { - /// The channel/node update which should be sent to router + /// The channel/node update which should be sent to NetGraphMsgHandler update: msgs::HTLCFailChannelUpdate, } }