Skip to content

Commit

Permalink
embeddeddcrlnd: enable rejecthtlc so clients do not act as hops
Browse files Browse the repository at this point in the history
  • Loading branch information
dajohi authored and miki-totefu committed Sep 23, 2024
1 parent e1bcbeb commit 9911bc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embeddeddcrlnd/dcrlnd.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ func RunDcrlnd(ctx context.Context, cfg Config) (*Dcrlnd, error) {
conf.TLSDisableAutofill = true // FIXME: parametrize
conf.RawRPCListeners = rpcAddrs
conf.DisableRest = true
conf.RejectHTLC = true
conf.DisableListen = true
conf.BackupFilePath = filepath.Join(rootDir, "channels.backup")
conf.Decred.Node = "dcrw"
Expand Down

0 comments on commit 9911bc9

Please sign in to comment.