Deliver node-local channel directory events to the gRPC subscribe stream
This commit is contained in:
parent
af5896743d
commit
876bc55e2b
3 changed files with 34 additions and 1 deletions
|
|
@ -851,8 +851,12 @@ impl EventLog {
|
|||
}
|
||||
if global {
|
||||
self.versions.insert(entry.origin.clone(), entry.seq);
|
||||
self.notify(&entry);
|
||||
}
|
||||
// Push every committed entry to subscribers: the gossip forwarder filters to
|
||||
// Global before sending to a peer, but the gRPC directory stream wants the
|
||||
// node-local channel events too (a website mirroring the account + channel
|
||||
// directory, which registers/drops/founder-sets never reached before).
|
||||
self.notify(&entry);
|
||||
self.entries.push(entry);
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue