diff --git a/libi2pd/Identity.h b/libi2pd/Identity.h index 97d596d8..46f53ec2 100644 --- a/libi2pd/Identity.h +++ b/libi2pd/Identity.h @@ -22,7 +22,9 @@ namespace i2p { namespace data { - typedef Tag<32> IdentHash; + const uint8_t IDENTITY_HASH_SIZE = 32; + + typedef Tag IdentHash; inline std::string GetIdentHashAbbreviation (const IdentHash& ident) { return ident.ToBase64 ().substr (0, 4);