From 77a006f03b0cb4e00ca5a0a8bbd329c79f81952e Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 22 Jun 2016 22:15:09 -0700 Subject: [PATCH] lnwallet: ChannelPoint() now returns a pointer to outpoint --- lnwallet/channel.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnwallet/channel.go b/lnwallet/channel.go index ace78a6e..b0b0e569 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -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...