multi: remove litecoin references and comments
This commit is contained in:
1 parent
a24a4c2996
commit
be90bcbe46
3 files changed
+3
-6
No files matched your search
+2
-2
@@ -227,8 +227,8 @@ func (c *chanDBRestorer) RestoreChansFromSingles(backups ...chanbackup.Single) e
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
// Worst case: We have no height hint and start at
|
// Worst case: We have no height hint and start at
|
||||||
// block 1. Should only happen for SCBs in regtest,
|
// block 1. Should only happen for SCBs in regtest
|
||||||
// simnet and litecoin.
|
// and simnet.
|
||||||
firstChanHeight = 1
|
firstChanHeight = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -78,7 +78,7 @@ const (
|
|||||||
// invoices. This allows LND nodes to freely update the minimum without
|
// invoices. This allows LND nodes to freely update the minimum without
|
||||||
// creating incompatibilities during the upgrade process. For some time
|
// creating incompatibilities during the upgrade process. For some time
|
||||||
// LND has used an explicit default final CLTV delta of 40 blocks for
|
// 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.
|
// range for user-chosen deltas to 18 blocks to be conservative.
|
||||||
MinCLTVDelta = 18
|
MinCLTVDelta = 18
|
||||||
|
|
||||||
|
|||||||
@@ -1316,8 +1316,6 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
|
|||||||
// in the case this gets re-orged out, and
|
// in the case this gets re-orged out, and
|
||||||
// we will require more confirmations before
|
// we will require more confirmations before
|
||||||
// we consider it open.
|
// we consider it open.
|
||||||
// TODO(halseth): Use Litecoin params in case
|
|
||||||
// of LTC channels.
|
|
||||||
|
|
||||||
// In case the user has explicitly specified
|
// In case the user has explicitly specified
|
||||||
// a default value for the number of
|
// a default value for the number of
|
||||||
@@ -1357,7 +1355,6 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
|
|||||||
// close) linearly from minRemoteDelay blocks
|
// close) linearly from minRemoteDelay blocks
|
||||||
// for small channels, to maxRemoteDelay blocks
|
// for small channels, to maxRemoteDelay blocks
|
||||||
// for channels of size MaxFundingAmount.
|
// for channels of size MaxFundingAmount.
|
||||||
// TODO(halseth): Litecoin parameter for LTC.
|
|
||||||
|
|
||||||
// In case the user has explicitly specified
|
// In case the user has explicitly specified
|
||||||
// a default value for the remote delay, we
|
// a default value for the remote delay, we
|
||||||
|
|||||||
Reference in new issue
Block a user