mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
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(
|
||||
in.TargetPeerId, nodePubKey, localFundingAmt,
|
||||
lnwire.NewMSatFromSatoshis(remoteInitialBalance),
|
||||
feePerByte,
|
||||
feePerByte, in.Private,
|
||||
)
|
||||
|
||||
var outpoint wire.OutPoint
|
||||
@ -746,7 +746,7 @@ func (r *rpcServer) OpenChannelSync(ctx context.Context,
|
||||
updateChan, errChan := r.server.OpenChannel(
|
||||
in.TargetPeerId, nodepubKey, localFundingAmt,
|
||||
lnwire.NewMSatFromSatoshis(remoteInitialBalance),
|
||||
feePerByte,
|
||||
feePerByte, in.Private,
|
||||
)
|
||||
|
||||
select {
|
||||
|
Loading…
Reference in New Issue
Block a user