From a1c39af3132202dd5380939ba2b3a183f5ad5701 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 25 Nov 2018 21:12:38 -0600 Subject: [PATCH] rpc: properly set output index in OpenChannelSync resp Fixes #2219 --- rpcserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcserver.go b/rpcserver.go index 5659036b..1e7f7986 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1027,6 +1027,7 @@ func (r *rpcServer) OpenChannelSync(ctx context.Context, FundingTxid: &lnrpc.ChannelPoint_FundingTxidBytes{ FundingTxidBytes: chanUpdate.Txid, }, + OutputIndex: chanUpdate.OutputIndex, }, nil case <-r.quit: return nil, nil