summaryrefslogtreecommitdiff
path: root/node/Revocation.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-03-06 15:12:28 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-03-06 15:12:28 -0800
commit5e6a4e5f5e0022dccbc2f6cf8a8b38c038720866 (patch)
treed4db86aba95df3108b78f59f807e5f9e59456324 /node/Revocation.hpp
parent66dfc33de91577012bb0e9ec22d2ef6bf18805ef (diff)
downloadinfinitytier-5e6a4e5f5e0022dccbc2f6cf8a8b38c038720866.tar.gz
infinitytier-5e6a4e5f5e0022dccbc2f6cf8a8b38c038720866.zip
Send revocations automatically on deauth for instant kill, also fix some issues with the RP.
Diffstat (limited to 'node/Revocation.hpp')
-rw-r--r--node/Revocation.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Revocation.hpp b/node/Revocation.hpp
index 3903f440..1697b52f 100644
--- a/node/Revocation.hpp
+++ b/node/Revocation.hpp
@@ -89,8 +89,8 @@ public:
{
if (signer.hasPrivate()) {
Buffer<sizeof(Revocation) + 64> tmp;
- this->serialize(tmp,true);
_signedBy = signer.address();
+ this->serialize(tmp,true);
_signature = signer.sign(tmp.data(),tmp.size());
return true;
}