From a6a3d66a837607f30bab7bfe9e03531dd4c47061 Mon Sep 17 00:00:00 2001 From: electron128 Date: Sun, 20 Dec 2015 14:32:11 +0100 Subject: [PATCH] exclude not serialised member from operator== for RsNxsTransac --- tests/unittests/libretroshare/gxs/common/data_support.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unittests/libretroshare/gxs/common/data_support.cc b/tests/unittests/libretroshare/gxs/common/data_support.cc index 5a7a3eb44..702581e2c 100644 --- a/tests/unittests/libretroshare/gxs/common/data_support.cc +++ b/tests/unittests/libretroshare/gxs/common/data_support.cc @@ -282,7 +282,8 @@ bool operator==(const RsNxsTransac& l, const RsNxsTransac& r){ if(l.transactFlag != r.transactFlag) return false; if(l.transactionNumber != r.transactionNumber) return false; - if(l.timestamp != r.timestamp) return false; + // timestamp is not serialised, see rsnxsitems.h + //if(l.timestamp != r.timestamp) return false; if(l.nItems != r.nItems) return false;