lnwallet: ChannelPoint() now returns a pointer to outpoint

This commit is contained in:
Olaoluwa Osuntokun 2016-06-22 22:15:09 -07:00
parent e17bdf08ea
commit 77a006f03b
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -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...