@@ -311,10 +311,10 @@ impl Writeable for RoutingFees {
311
311
/// Information received in the latest node_announcement from this node.
312
312
pub struct NodeAnnouncementInfo {
313
313
/// Protocol features the node announced support for
314
- pub features : NodeFeatures ,
314
+ pub features : NodeFeatures ,
315
315
/// When the last known update to the node state was issued.
316
316
/// Value is opaque, as set in the announcement.
317
- pub last_update : u32 ,
317
+ pub last_update : u32 ,
318
318
/// Color assigned to the node
319
319
pub rgb : [ u8 ; 3 ] ,
320
320
/// Moniker assigned to the node.
@@ -766,7 +766,7 @@ mod tests {
766
766
use ln:: features:: { ChannelFeatures , NodeFeatures } ;
767
767
use routing:: network_graph:: { NetGraphMsgHandler , NetworkGraph } ;
768
768
use ln:: msgs:: { RoutingMessageHandler , UnsignedNodeAnnouncement , NodeAnnouncement ,
769
- UnsignedChannelAnnouncement , ChannelAnnouncement , UnsignedChannelUpdate , ChannelUpdate , HTLCFailChannelUpdate } ;
769
+ UnsignedChannelAnnouncement , ChannelAnnouncement , UnsignedChannelUpdate , ChannelUpdate , HTLCFailChannelUpdate } ;
770
770
use util:: test_utils;
771
771
use util:: logger:: Logger ;
772
772
use util:: ser:: { Readable , Writeable } ;
@@ -845,7 +845,7 @@ mod tests {
845
845
// Announce a channel to add a corresponding node.
846
846
let unsigned_announcement = UnsignedChannelAnnouncement {
847
847
features : ChannelFeatures :: known ( ) ,
848
- chain_hash : genesis_block ( Network :: Testnet ) . header . bitcoin_hash ( ) ,
848
+ chain_hash : genesis_block ( Network :: Testnet ) . header . bitcoin_hash ( ) ,
849
849
short_channel_id : 0 ,
850
850
node_id_1,
851
851
node_id_2,
0 commit comments