From 078f917e61f9a0790f06e9ba9403356e6fad729b Mon Sep 17 00:00:00 2001 From: Anatoly Yakovenko Date: Thu, 3 May 2018 08:34:57 -0700 Subject: [PATCH] useless assert --- src/accountant_stub.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/accountant_stub.rs b/src/accountant_stub.rs index 900ca7a8fb..f0c4890d39 100644 --- a/src/accountant_stub.rs +++ b/src/accountant_stub.rs @@ -115,7 +115,6 @@ impl AccountantStub { pub fn get_last_id(&mut self) -> FutureResult { let req = Request::GetLastId; let data = serialize(&req).expect("serialize GetId"); - assert!(data.len() < 4096); self.socket .send_to(&data, &self.addr) .expect("buffer error");