mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-17 22:24:21 +01:00
config: expose distinct accept-amp flag
This mirrors the accept-keysend flag, but also permits users to eventually toggle off keysend separately from AMP.
This commit is contained in:
@@ -427,6 +427,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
|
||||
HtlcHoldDuration: invoices.DefaultHtlcHoldDuration,
|
||||
Clock: clock.NewDefaultClock(),
|
||||
AcceptKeySend: cfg.AcceptKeySend,
|
||||
AcceptAMP: cfg.AcceptAMP,
|
||||
GcCanceledInvoicesOnStartup: cfg.GcCanceledInvoicesOnStartup,
|
||||
GcCanceledInvoicesOnTheFly: cfg.GcCanceledInvoicesOnTheFly,
|
||||
KeysendHoldTime: cfg.KeysendHoldTime,
|
||||
|
||||
Reference in New Issue
Block a user