rename initialchannelid to aliasScid and make optional

This commit is contained in:
Jesse de Wit
2023-12-29 11:26:56 +01:00
parent fb36dc8864
commit 81a24439d4
6 changed files with 81 additions and 40 deletions

View File

@@ -31,9 +31,9 @@ var defaultChainHash = chainhash.Hash([32]byte{})
var defaultOutPoint = wire.NewOutPoint(&defaultChainHash, 0)
var defaultChannelScid uint64 = 456
var defaultChanResult = &lightning.GetChannelResult{
HtlcMinimumMsat: defaultConfig().HtlcMinimumMsat,
InitialChannelID: lightning.ShortChannelID(defaultChannelScid),
ConfirmedChannelID: lightning.ShortChannelID(defaultChannelScid),
HtlcMinimumMsat: defaultConfig().HtlcMinimumMsat,
AliasScid: (*lightning.ShortChannelID)(&defaultChannelScid),
ConfirmedScid: (*lightning.ShortChannelID)(&defaultChannelScid),
}
func defaultOpeningFeeParams() common.OpeningFeeParams {