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 committed 2024-09-05 08:44:33 +02:00
1 parent 466f550ddb
commit 604bd81100
2 files changed
+14 -11

No files matched your search

+1 -1
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,
},