Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F113717
D28.1732488746.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
681 B
Referenced Files
None
Subscribers
None
D28.1732488746.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 2:52 PM (13 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39861
Default Alt Text
D28.1732488746.diff (681 B)
Attached To
Mode
D28: Do not calculate transaction id from event content
Attached
Detach File
Event Timeline
Log In to Comment