From 9686cfee25d62ba28c6dd18d5e810cc6e9f2c325 Mon Sep 17 00:00:00 2001 From: Alex Badalyan Date: Mon, 25 Jun 2018 22:05:19 -0500 Subject: [PATCH] Allow for alternative web3 providers (not just MetaMask) --- js/main-unminified.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main-unminified.js b/js/main-unminified.js index 8dd226fac..30926de75 100644 --- a/js/main-unminified.js +++ b/js/main-unminified.js @@ -118366,7 +118366,7 @@ if (web3.currentProvider && 'MetaMask' === addrKind) web3.version.getNode(function(error, node) { node && - (node.match('TestRPC') || node.match('MetaMask')) && + (node.match('TestRPC') || node.match('Geth') || node.match('MetaMask')) && (msgToSign = prefixMessage(msgToSign)), web3.eth.sign(address, msgToSign, function( err, @@ -118381,7 +118381,7 @@ if ( ((msg = node && - (node.match('TestRPC') || + (node.match('TestRPC') || node.match('Geth') || node.match('MetaMask')) ? new Buffer( msgToSign.slice(2),