Merge pull request #8735 from ellemouton/rb-receives

[2/4] Route Blinding Receives: Receive and send to a single blinded path in an invoice.
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2024-07-29 19:00:06 -07:00
commit 9decf80a68
49 files changed
+5634 -1884

No files matched your search

+1 -3
View File
@@ -518,9 +518,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
replayLog := htlcswitch.NewDecayedLog(
dbs.DecayedLogDB, cc.ChainNotifier,
)
sphinxRouter := sphinx.NewRouter(
nodeKeyECDH, cfg.ActiveNetParams.Params, replayLog,
)
sphinxRouter := sphinx.NewRouter(nodeKeyECDH, replayLog)
writeBufferPool := pool.NewWriteBuffer(
pool.DefaultWriteBufferGCInterval,