Merge pull request #3848 from carlaKC/htlcnotifier-3-addhtlcnotifierrpc

[htlcnotifier 4/4]: lnrpc: Add HTLC Event Subscription
This commit is contained in:
Conner Fromknecht authored and GitHub committed 2020-03-17 16:37:52 -07:00
commit b6a0bfcabe
6 files changed
+1229 -90

No files matched your search

+1
View File
@@ -567,6 +567,7 @@ func newRPCServer(s *server, macService *macaroons.Service,
Tower: s.controlTower,
MaxTotalTimelock: cfg.MaxOutgoingCltvExpiry,
DefaultFinalCltvDelta: uint16(cfg.Bitcoin.TimeLockDelta),
SubscribeHtlcEvents: s.htlcNotifier.SubscribeHtlcEvents,
}
genInvoiceFeatures := func() *lnwire.FeatureVector {