aboutsummaryrefslogtreecommitdiffstats
path: root/ui/index.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-02-24 06:23:45 +0800
committerDan Finlay <dan@danfinlay.com>2017-02-24 06:23:45 +0800
commit4697aca02c669b1787e72f0648b3043270867799 (patch)
treeecc07db1ce05ec6a88612a0fa7d1c86007ef6389 /ui/index.js
parent7ec25526b70473247a69ab4a3a1302e50b06f12b (diff)
downloadtangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar
tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.gz
tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.bz2
tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.lz
tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.xz
tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.zst
tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.zip
Got personal_sign working
Also fixed bug where signing would not close popup.
Diffstat (limited to 'ui/index.js')
-rw-r--r--ui/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/index.js b/ui/index.js
index 844e6c417..6b65f12d4 100644
--- a/ui/index.js
+++ b/ui/index.js
@@ -6,9 +6,10 @@ const configureStore = require('./app/store')
const txHelper = require('./lib/tx-helper')
module.exports = launchApp
+let debugMode = window.METAMASK_DEBUG
const log = require('loglevel')
window.log = log
-log.setLevel('warn')
+log.setLevel(debugMode ? 'debug' : 'warn')
function launchApp (opts) {
var accountManager = opts.accountManager