NetDB: Fix NPE validating expired blinded LS2

This commit is contained in:
zzz
2021-02-25 07:20:27 -05:00
parent 3af5a87782
commit daf894dbe3
2 changed files with 13 additions and 4 deletions

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;
}