mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
previous commit
This commit is contained in:
parent
fe0c76704a
commit
5f5f95849e
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue