NetDB: Fix NPE validating expired blinded LS2

This commit is contained in:
zzz committed 2021-02-25 07:20:27 -05:00
1 parent 3af5a87782
commit daf894dbe3
2 files changed
+13 -4

No files matched your search

+5
View File
@@ -118,6 +118,11 @@ public class LeaseSet extends DatabaseEntry {
return KEY_TYPE_LEASESET;
}
/**
* Warning - will be null for LS2 EncryptedLeaseSets if not decrypted
*
* @return Destination or null
*/
public Destination getDestination() {
return _destination;
}