mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
autopilot: remove unused channel field FundedAmt
This commit is contained in:
@@ -100,10 +100,9 @@ func (d dbNode) ForEachChannel(cb func(ChannelEdge) error) error {
|
||||
|
||||
edge := ChannelEdge{
|
||||
Channel: Channel{
|
||||
ChanID: lnwire.NewShortChanIDFromInt(ep.ChannelID),
|
||||
Capacity: ei.Capacity,
|
||||
FundedAmt: ei.Capacity,
|
||||
Node: NodeID(ep.Node.PubKeyBytes),
|
||||
ChanID: lnwire.NewShortChanIDFromInt(ep.ChannelID),
|
||||
Capacity: ei.Capacity,
|
||||
Node: NodeID(ep.Node.PubKeyBytes),
|
||||
},
|
||||
Peer: dbNode{
|
||||
tx: tx,
|
||||
|
Reference in New Issue
Block a user