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:
2 files changed
+14
-11
No files matched your search
@@ -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,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user