From 6926be56fe58e199673db158c4fee7ca7b140c8d Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sun, 09 Jan 2022 08:21:26 +0000
Subject: [PATCH] Fixed deletedOrder and send now returns packet

---
 json.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/json.cpp b/json.cpp
index a650550..11a97fa 100644
--- a/json.cpp
+++ b/json.cpp
@@ -158,9 +158,9 @@
     timestamp = find_arg(str, "timestamp", false, true);
     std::stringstream expiryStream(
 	str.substr(expiry.first, expiry.second - expiry.first));
-    std::chrono::nanoseconds exp_time;
-    expiryStream >>
-	date::parse("%Y-%m-%f %H:%M%z", exp_time); // Parsing is broken
+    std::chrono::nanoseconds exp_time(0);
+    // expiryStream >>
+	// date::parse("%Y-%m-%f %H:%M%z", exp_time); // Parsing is broken
     return new AnnounceMessage(
 	mapTypes[str.substr(type.first, type.second - type.first)],
 	str.substr(product.first, product.second - product.first),

--
Gitblit v1.9.3