1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

previous commit

This commit is contained in:
Jeff Becker 2018-07-24 11:55:25 +10:00
parent fe0c76704a
commit 5f5f95849e

View file

@ -2,7 +2,6 @@
#define LLARP_SERVICE_TAG_HPP
#include <sodium/crypto_generichash.h>
#include <algorithm>
#include <llarp/aligned.hpp>
#include <llarp/dht/key.hpp>
@ -23,7 +22,7 @@ namespace llarp
Tag(const std::string& str) : Tag()
{
memcpy(data(), str.c_str(), std::min(16UL, str.size()));
memcpy(data(), str.c_str(), MIN(16UL, str.size()));
}
llarp::dht::Key_t