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

SignedValue: add owner

parent d9ff95da
Branches
No related tags found
No related merge requests found
......@@ -66,8 +66,10 @@ private:
public:
virtual void unpackValue(const Value& v) override {
if (v.owner)
if (v.owner) {
owner = v.owner;
from = v.owner->getId();
}
BaseClass::unpackValue(v);
}
......@@ -75,6 +77,7 @@ public:
return [](const Value& v){ return v.isSigned(); };
}
Sp<const crypto::PublicKey> owner;
dht::InfoHash from;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment