lnwallet: ChannelPoint() now returns a pointer to outpoint

This commit is contained in:
Olaoluwa Osuntokun committed 2016-06-22 22:15:13 -07:00
1 parent e17bdf08ea
commit 77a006f03b
1 file changed
+2 -2
+2 -2
View File
@@ -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...