rpc: properly set output index in OpenChannelSync resp

Fixes #2219
This commit is contained in:
Olaoluwa Osuntokun committed 2018-11-25 21:13:00 -06:00
1 parent 42c4597921
commit a1c39af313
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