Decrease target conf to 6

This commit is contained in:
Yaacov Akiba Slama
2020-10-01 17:04:15 +03:00
parent 980d2b40e5
commit 34a38ba99c

View File

@@ -37,7 +37,7 @@ func openChannel(ctx context.Context, client lnrpc.LightningClient, paymentHash,
channelPoint, err := client.OpenChannelSync(ctx, &lnrpc.OpenChannelRequest{ channelPoint, err := client.OpenChannelSync(ctx, &lnrpc.OpenChannelRequest{
NodePubkey: destination, NodePubkey: destination,
LocalFundingAmount: capacity, LocalFundingAmount: capacity,
TargetConf: 20, TargetConf: 6,
Private: true, Private: true,
}) })
if err != nil { if err != nil {