Browse Source

lint compliance, simplify a test condition

master
ansuz 10 months ago
parent
commit
ccd6e1d6df
1 changed files with 0 additions and 5 deletions
  1. 5
      scripts/tests/test-rpc.js

5
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) {

Loading…
Cancel
Save