Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85814364
D28.1792751941.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
681 B
Referenced Files
None
Subscribers
None
D28.1792751941.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
Fri, Oct 23, 3:39 AM (22 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1792019
Default Alt Text
D28.1792751941.diff (681 B)
Attached To
Mode
D28: Do not calculate transaction id from event content
Attached
Detach File
Event Timeline