From 55b8d0db4d3d76da54af86f79c5ceb2acbad7c1f Mon Sep 17 00:00:00 2001 From: Anatoly Yakovenko Date: Mon, 23 Apr 2018 23:33:21 -0700 Subject: [PATCH] cleanup --- src/crdt.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/crdt.rs b/src/crdt.rs index fa32770a77..69de86828d 100644 --- a/src/crdt.rs +++ b/src/crdt.rs @@ -55,10 +55,6 @@ impl ReplicatedData { last_verified_count: 0, } } - fn verify_sig(&self) -> bool { - //TODO implement this - true - } } /// `Crdt` structure keeps a table of `ReplicatedData` structs @@ -183,9 +179,6 @@ impl Crdt { // TODO we need to punish/spam resist here // sig verify the whole update and slash anyone who sends a bad update for v in data { - if !v.verify_sig() { - continue; - } // TODO probably an error or attack if v.id == self.me { continue;