mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-06 17:47:01 +02:00
autopilot: remove unused channel field FundedAmt
This commit is contained in:
@@ -102,7 +102,6 @@ func (d dbNode) ForEachChannel(cb func(ChannelEdge) error) error {
|
|||||||
Channel: Channel{
|
Channel: Channel{
|
||||||
ChanID: lnwire.NewShortChanIDFromInt(ep.ChannelID),
|
ChanID: lnwire.NewShortChanIDFromInt(ep.ChannelID),
|
||||||
Capacity: ei.Capacity,
|
Capacity: ei.Capacity,
|
||||||
FundedAmt: ei.Capacity,
|
|
||||||
Node: NodeID(ep.Node.PubKeyBytes),
|
Node: NodeID(ep.Node.PubKeyBytes),
|
||||||
},
|
},
|
||||||
Peer: dbNode{
|
Peer: dbNode{
|
||||||
|
@@ -47,12 +47,6 @@ type Channel struct {
|
|||||||
// Capacity is the capacity of the channel expressed in satoshis.
|
// Capacity is the capacity of the channel expressed in satoshis.
|
||||||
Capacity btcutil.Amount
|
Capacity btcutil.Amount
|
||||||
|
|
||||||
// FundedAmt is the amount the local node funded into the target
|
|
||||||
// channel.
|
|
||||||
//
|
|
||||||
// TODO(roasbeef): need this?
|
|
||||||
FundedAmt btcutil.Amount
|
|
||||||
|
|
||||||
// Node is the peer that this channel has been established with.
|
// Node is the peer that this channel has been established with.
|
||||||
Node NodeID
|
Node NodeID
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user