Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112758
D28.1732346868.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.1732346868.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, Nov 22, 11:27 PM (17 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39042
Default Alt Text
D28.1732346868.diff (681 B)
Attached To
Mode
D28: Do not calculate transaction id from event content
Attached
Detach File
Event Timeline
Log In to Comment