Skip to content

Commit 3b20502

Browse files
committed
Respond to comment.
1 parent cff4c6d commit 3b20502

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/routing/network_graph.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,12 @@ impl Readable for NodeId {
123123

124124
/// Represents the network as nodes and channels between them
125125
pub struct NetworkGraph {
126+
/// The timestamp provided by the most recent rapid gossip sync
127+
pub last_rapid_gossip_sync_timestamp: Option<u32>,
126128
genesis_hash: BlockHash,
127129
// Lock order: channels -> nodes
128130
channels: RwLock<BTreeMap<u64, ChannelInfo>>,
129131
nodes: RwLock<BTreeMap<NodeId, NodeInfo>>,
130-
last_rapid_gossip_sync_timestamp: Option<u32>,
131132
}
132133

133134
impl Clone for NetworkGraph {

0 commit comments

Comments
 (0)