move short channel id to basetypes dir

This commit is contained in:
Jesse de Wit
2022-12-23 18:19:05 +01:00
parent a7631dcddf
commit 5b67c399fd
4 changed files with 14 additions and 9 deletions

View File

@@ -1,6 +1,9 @@
package main
import "github.com/btcsuite/btcd/wire"
import (
"github.com/breez/lspd/basetypes"
"github.com/btcsuite/btcd/wire"
)
type GetInfoResult struct {
Alias string
@@ -8,8 +11,8 @@ type GetInfoResult struct {
}
type GetChannelResult struct {
InitialChannelID ShortChannelID
ConfirmedChannelID ShortChannelID
InitialChannelID basetypes.ShortChannelID
ConfirmedChannelID basetypes.ShortChannelID
}
type OpenChannelRequest struct {