From ccd6e1d6df98301143d4b801bf72db0487f293a2 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 4 Mar 2020 09:59:43 -0500 Subject: [PATCH] lint compliance, simplify a test condition --- scripts/tests/test-rpc.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/tests/test-rpc.js b/scripts/tests/test-rpc.js index 56d2ccb3b..91a254df3 100644 --- a/scripts/tests/test-rpc.js +++ b/scripts/tests/test-rpc.js @@ -402,11 +402,6 @@ nThen(function (w) { alice.edKeys.edPublic ] }, w(function (err, response) { - if (err) { - throw new Error("FAIL"); - return void console.error(err); - } - var metadata = response && response[0]; if (!metadata || !Array.isArray(metadata.allowed) || metadata.allowed.indexOf(alice.edKeys.edPublic) === -1) {