lnwallet: ChannelPoint() now returns a pointer to outpoint
This commit is contained in:
parent
e17bdf08ea
commit
77a006f03b
@ -297,8 +297,8 @@ func (c *ChannelUpdate) Commit(pastRevokePreimage []byte) error {
|
||||
// ChannelPoint returns the outpoint of the original funding transaction which
|
||||
// created this active channel. This outpoint is used throughout various
|
||||
// sub-systems to uniquely identify an open channel.
|
||||
func (lc *LightningChannel) ChannelPoint() wire.OutPoint {
|
||||
return lc.fundingTxIn.PreviousOutPoint
|
||||
func (lc *LightningChannel) ChannelPoint() *wire.OutPoint {
|
||||
return lc.channelState.ChanID
|
||||
}
|
||||
|
||||
// AddHTLC...
|
||||
|
Loading…
Reference in New Issue
Block a user