From c52146cb71c930d28e382b35731e2f0f11f813ab Mon Sep 17 00:00:00 2001 From: Eitan Chatav Date: Fri, 18 Nov 2016 15:59:56 -0800 Subject: [PATCH] debug string --- src/node/net/p2p.ml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/node/net/p2p.ml b/src/node/net/p2p.ml index 75bce8221..0ff445895 100644 --- a/src/node/net/p2p.ml +++ b/src/node/net/p2p.ml @@ -415,9 +415,10 @@ module Make (P: PARAMS) = struct Crypto_box.check_proof_of_work public_key proof_of_work Crypto_box.default_target in if not work_proved then - (*debug "connection rejected (invalid proof of work)" - pp_gid my_gid Ipaddr.pp_hum addr port ;*) + begin + debug "connection rejected (invalid proof of work)"; cancel () + end else begin match common_version P.supported_versions versions with | None ->