multi: turn on route blinding by default

This commit is contained in:
Carla Kirk-Cohen committed 2024-04-26 11:35:18 -04:00
1 parent eaa85920ea
commit 7867cb3a70
3 files changed
+2 -18

No files matched your search

-8
View File
@@ -59,14 +59,6 @@ type ProtocolOptions struct {
NoRouteBlindingOption bool `long:"no-route-blinding" description:"do not forward payments that are a part of a blinded route"`
}
// DefaultProtocol returns a protocol config with route blinding turned off,
// temporarily in place until full handling of blinded route errors is merged.
func DefaultProtocol() *ProtocolOptions {
return &ProtocolOptions{
NoRouteBlindingOption: true,
}
}
// Wumbo returns true if lnd should permit the creation and acceptance of wumbo
// channels.
func (l *ProtocolOptions) Wumbo() bool {