From 14e5e67c95a87ca65348b9aeda831888042ebab1 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Sun, 25 Mar 2018 00:37:04 +0100 Subject: [PATCH] Addedd debug code --- src/main.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cc b/src/main.cc index 4d75320..c702609 100644 --- a/src/main.cc +++ b/src/main.cc @@ -83,7 +83,9 @@ NAN_METHOD(convert_blob) { //convert block b = AUTO_VAL_INIT(b); + puts("[1"); if (!parse_and_validate_block_from_blob(input, b)) return THROW_ERROR_EXCEPTION("Failed to parse block"); + puts("]1"); if (b.major_version < BLOCK_MAJOR_VERSION_2) { if (!get_block_hashing_blob(b, output)) return THROW_ERROR_EXCEPTION("Failed to create mining block");