{fix} outbound - wireguard

This commit is contained in:
mhsanaei
2024-06-07 14:41:45 +02:00
parent e1ef746cab
commit 713285457f
2 changed files with 1 additions and 14 deletions

View File

@@ -1053,7 +1053,6 @@ Outbound.WireguardSettings = class extends CommonClass {
super();
this.mtu = mtu;
this.secretKey = secretKey;
this.pubKey = secretKey.length>0 ? Wireguard.generateKeypair(secretKey).publicKey : '';
this.address = address instanceof Array ? address.join(',') : address;
this.workers = workers;
this.domainStrategy = domainStrategy;