mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 05:08:13 +02:00
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:
@@ -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