multi: rename ChannelEdgeInfo

In preparaion for adding ChannelEdgeInfo2 and a ChannelEdgeInfo
interface, rename ChannelEdgeInfo to ChannelEdgeInfo1.
This commit is contained in:
Elle Mouton
2024-08-21 11:46:18 +02:00
parent 8ac489d9bb
commit ec332086cd
31 changed files with 197 additions and 196 deletions

View File

@@ -262,7 +262,7 @@ func (s *Server) ImportGraph(ctx context.Context,
for _, rpcEdge := range graph.Edges {
rpcEdge := rpcEdge
edge := &models.ChannelEdgeInfo{
edge := &models.ChannelEdgeInfo1{
ChannelID: rpcEdge.ChannelId,
ChainHash: *s.cfg.ActiveNetParams.GenesisHash,
Capacity: btcutil.Amount(rpcEdge.Capacity),