diff options
author | buttercat1791 <mjjurkoic@gmail.com> | 2024-05-26 12:31:12 -0500 |
---|---|---|
committer | buttercat1791 <mjjurkoic@gmail.com> | 2024-05-26 12:31:12 -0500 |
commit | 1d6b704c15ee289037447fb566e7583962496650 (patch) | |
tree | e1cd3322d4f30746c32e7f46e58060a66c5abc23 /src/data/event.cpp | |
parent | a7d3e3d2ce1797fc2b7fc918684777ae75adb822 (diff) |
Refactor to separate interface from implementation
Diffstat (limited to 'src/data/event.cpp')
-rw-r--r-- | src/data/event.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/data/event.cpp b/src/data/event.cpp index 620ee3f..5f611ff 100644 --- a/src/data/event.cpp +++ b/src/data/event.cpp @@ -88,12 +88,6 @@ void Event::validate() { throw std::invalid_argument("Event::validate: A valid event kind is required."); } - - bool hasSignature = this->sig.length() > 0; - if (!hasSignature) - { - throw std::invalid_argument("Event::validate: The event must be signed."); - } }; string Event::generateId(string serializedData) const |