aliasmgr: export alias start and end ranges

Because we restrict custom SCID aliases to be in a specific range, we
export the range start and end values so a user of the RPCs we're going
to add in the next commits can adjust their values to fit within the
range.
This commit is contained in:
Oliver Gugger
2024-08-09 16:05:04 +02:00
parent 466f550ddb
commit 604bd81100
2 changed files with 14 additions and 11 deletions

View File

@@ -200,7 +200,7 @@ func TestGetNextScid(t *testing.T) {
name: "starting alias",
current: StartingAlias,
expected: lnwire.ShortChannelID{
BlockHeight: startingBlockHeight,
BlockHeight: AliasStartBlockHeight,
TxIndex: 0,
TxPosition: 1,
},