Fixed unit test failures in Linux.

This commit is contained in:
Chad Attermann committed 2026-03-06 17:25:41 -07:00
1 parent c69087ba40
commit 491fbd034e
3 files changed
+7 -3

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
#include <list>
#include <memory>
#include <cassert>
#include <functional>
#include <stdint.h>
namespace RNS {
+5 -3
View File
@@ -111,11 +111,13 @@ namespace RNS {
_received_from(received_from),
_hops(announce_hops),
_expires(expires),
_random_blobs(random_blobs),
#if RNS_LEAN_PATH_TABLE
_receiving_interface(receiving_interface)
#else
_receiving_interface(receiving_interface),
#if !RNS_LEAN_PATH_TABLE
_announce_packet(announce_packet),
_announce_packet(announce_packet)
#endif
_random_blobs(random_blobs)
{
if (receiving_interface) _receiving_interface_hash = receiving_interface.get_hash();
if (announce_packet) _announce_packet_hash = announce_packet.get_hash();
+1
View File
@@ -6,6 +6,7 @@
#include <cmath>
#include <memory>
#include <functional>
#include <unistd.h>
#include <time.h>
#include <stdint.h>