Merge pull request #2221 from Roasbeef/open-channel-sync-fix

rpc: properly set output index in OpenChannelSync resp
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-11-26 16:36:13 -08:00
commit 0348db760e
1 file changed
+1
+1
View File
@@ -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