Page MenuHomePhorge

D28.1732488491.diff
No OneTemporary

Size
681 B
Referenced Files
None
Subscribers
None

D28.1732488491.diff

diff --git a/src/client/clientutil.cpp b/src/client/clientutil.cpp
--- a/src/client/clientutil.cpp
+++ b/src/client/clientutil.cpp
@@ -16,12 +16,10 @@
return std::to_string(std::stoull(cur) + 1);
}
- std::string getTxnId(Event event, ClientModel &m)
+ std::string getTxnId(Event /* event */, ClientModel &m)
{
- auto origJson = event.originalJson().get();
-
- auto txnId = std::to_string(std::hash<json>{}(origJson))
- + std::to_string(std::chrono::system_clock::now()
+ auto txnId =
+ std::to_string(std::chrono::system_clock::now()
.time_since_epoch().count())
+ m.nextTxnId;

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 2:48 PM (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39861
Default Alt Text
D28.1732488491.diff (681 B)

Event Timeline