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 2018-11-26 16:36:13 -08:00 committed by GitHub
commit 0348db760e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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