From 52f9c68869fa8956db55980f0b36ba817f825ffb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 26 Apr 2017 16:15:43 -0400 Subject: include elapsedTime in Activity Time is relative, so the debug-me proof chain doesn't prove when things happened, but it's still useful to have some idea of how long things took to happen. This makes --replay work with logs gotten by --download. Log still includes loggedTimestamp. This is a bit redundant, and is unused now, but it's useful for log files to record when messages were received. This commit was sponsored by Riku Voipio. --- Crypto.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Crypto.hs') diff --git a/Crypto.hs b/Crypto.hs index d973034..e56db89 100644 --- a/Crypto.hs +++ b/Crypto.hs @@ -25,8 +25,8 @@ class Signed t where instance Hashable a => Signed (Activity a) where getSignature = activitySignature - hashExceptSignature (Activity a mp _s) = hash $ - Tagged "Activity" [hash a, hash mp] + hashExceptSignature (Activity a mp mt _s) = hash $ + Tagged "Activity" [hash a, hash mp, hash mt] instance Signed Control where getSignature = controlSignature -- cgit v1.2.3