From 224c17a9b980611f267151ed1676ae1a1809baec Mon Sep 17 00:00:00 2001 From: Gokulnath Reddy Date: Tue, 6 Mar 2018 12:16:53 +1100 Subject: [PATCH] Fix typo --- providers/json-rpc-provider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/json-rpc-provider.js b/providers/json-rpc-provider.js index 701d50454..0f72355d6 100644 --- a/providers/json-rpc-provider.js +++ b/providers/json-rpc-provider.js @@ -59,7 +59,7 @@ function getTransaction(transaction) { function JsonRpcProvider(url, network) { if (!(this instanceof JsonRpcProvider)) { throw new Error('missing new'); } - if (arguments.lengt == 1) { + if (arguments.length == 1) { if (typeof(url) === 'string') { try { network = Provider.getNetwork(url);