rpcserver: forward private parameter to OpenChannel
This commit is contained in:
parent
5c4add8e0e
commit
3beef359a2
@ -627,7 +627,7 @@ func (r *rpcServer) OpenChannel(in *lnrpc.OpenChannelRequest,
|
|||||||
updateChan, errChan := r.server.OpenChannel(
|
updateChan, errChan := r.server.OpenChannel(
|
||||||
in.TargetPeerId, nodePubKey, localFundingAmt,
|
in.TargetPeerId, nodePubKey, localFundingAmt,
|
||||||
lnwire.NewMSatFromSatoshis(remoteInitialBalance),
|
lnwire.NewMSatFromSatoshis(remoteInitialBalance),
|
||||||
feePerByte,
|
feePerByte, in.Private,
|
||||||
)
|
)
|
||||||
|
|
||||||
var outpoint wire.OutPoint
|
var outpoint wire.OutPoint
|
||||||
@ -746,7 +746,7 @@ func (r *rpcServer) OpenChannelSync(ctx context.Context,
|
|||||||
updateChan, errChan := r.server.OpenChannel(
|
updateChan, errChan := r.server.OpenChannel(
|
||||||
in.TargetPeerId, nodepubKey, localFundingAmt,
|
in.TargetPeerId, nodepubKey, localFundingAmt,
|
||||||
lnwire.NewMSatFromSatoshis(remoteInitialBalance),
|
lnwire.NewMSatFromSatoshis(remoteInitialBalance),
|
||||||
feePerByte,
|
feePerByte, in.Private,
|
||||||
)
|
)
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
Loading…
Reference in New Issue
Block a user