From 89341b362e6d4b8b23a77be8d70e08e92d85e805 Mon Sep 17 00:00:00 2001 From: Alexey Date: Tue, 3 Dec 2019 16:46:18 +0300 Subject: [PATCH] transactionHash error log --- src/relayController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relayController.js b/src/relayController.js index 3f88ae6..6e986ae 100644 --- a/src/relayController.js +++ b/src/relayController.js @@ -91,7 +91,7 @@ async function relay (req, resp) { console.log(`A new successfully sent tx ${txHash} for the ${recipient}`) }).on('error', function(e){ config.nonce-- - console.log(e) + console.error('on transactionHash error', e.message) return resp.status(400).json({ error: 'Proof is malformed.' }) }) } catch (e) {