mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-09-20 15:26:25 +08:00
Fix a bug if emulated client don't use key.
This commit is contained in:
parent
f2f3ae7ed5
commit
0c4cd448b6
|
@ -72,7 +72,7 @@ class TorrentClientConfig {
|
|||
|
||||
Optional<String> createNewKey() {
|
||||
if (Objects.isNull(this.keyInfo)) {
|
||||
Optional.empty();
|
||||
return Optional.empty();
|
||||
}
|
||||
String key;
|
||||
switch (this.peerIdInfo.getType()) {
|
||||
|
|
Loading…
Reference in a new issue