Skip to content

Commit 0348db7

Browse files
authored
Merge pull request #2221 from Roasbeef/open-channel-sync-fix
rpc: properly set output index in OpenChannelSync resp
2 parents 42c4597 + a1c39af commit 0348db7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rpcserver.go

+1
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,7 @@ func (r *rpcServer) OpenChannelSync(ctx context.Context,
10271027
FundingTxid: &lnrpc.ChannelPoint_FundingTxidBytes{
10281028
FundingTxidBytes: chanUpdate.Txid,
10291029
},
1030+
OutputIndex: chanUpdate.OutputIndex,
10301031
}, nil
10311032
case <-r.quit:
10321033
return nil, nil

0 commit comments

Comments
 (0)