Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F116528
D28.1733020665.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.1733020665.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
Sat, Nov 30, 6:37 PM (15 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41786
Default Alt Text
D28.1733020665.diff (681 B)
Attached To
Mode
D28: Do not calculate transaction id from event content
Attached
Detach File
Event Timeline
Log In to Comment