multi: remove litecoin references and comments

This commit is contained in:
Elle Mouton
2023-08-03 17:49:12 +02:00
committed by Olaoluwa Osuntokun
parent a24a4c2996
commit be90bcbe46
3 changed files with 3 additions and 6 deletions

View File

@@ -227,8 +227,8 @@ func (c *chanDBRestorer) RestoreChansFromSingles(backups ...chanbackup.Single) e
default:
// Worst case: We have no height hint and start at
// block 1. Should only happen for SCBs in regtest,
// simnet and litecoin.
// block 1. Should only happen for SCBs in regtest
// and simnet.
firstChanHeight = 1
}
}

View File

@@ -78,7 +78,7 @@ const (
// invoices. This allows LND nodes to freely update the minimum without
// creating incompatibilities during the upgrade process. For some time
// LND has used an explicit default final CLTV delta of 40 blocks for
// bitcoin (160 for litecoin), though we now clamp the lower end of this
// bitcoin, though we now clamp the lower end of this
// range for user-chosen deltas to 18 blocks to be conservative.
MinCLTVDelta = 18

View File

@@ -1316,8 +1316,6 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
// in the case this gets re-orged out, and
// we will require more confirmations before
// we consider it open.
// TODO(halseth): Use Litecoin params in case
// of LTC channels.
// In case the user has explicitly specified
// a default value for the number of
@@ -1357,7 +1355,6 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
// close) linearly from minRemoteDelay blocks
// for small channels, to maxRemoteDelay blocks
// for channels of size MaxFundingAmount.
// TODO(halseth): Litecoin parameter for LTC.
// In case the user has explicitly specified
// a default value for the remote delay, we