Skip to content
Snippets Groups Projects
Commit 435cd554 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

securedht: add getLongId()

parent 10c70ebd
Branches
Tags
No related merge requests found
...@@ -63,6 +63,9 @@ public: ...@@ -63,6 +63,9 @@ public:
InfoHash getId() const { InfoHash getId() const {
return key_ ? key_->getPublicKey().getId() : InfoHash(); return key_ ? key_->getPublicKey().getId() : InfoHash();
} }
PkId getLongId() const {
return key_ ? key_->getPublicKey().getLongId() : PkId();
}
ValueType secureType(ValueType&& type); ValueType secureType(ValueType&& type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment