Remove the 'enablePinning' config property

This commit is contained in:
yflory
2019-05-27 15:29:36 +02:00
parent bf0fd64a70
commit 28c8834fa4
6 changed files with 4 additions and 24 deletions

View File

@@ -312,6 +312,7 @@ define([
};
Store.initRpc = function (clientId, data, cb) {
if (!store.loggedIn) { return cb(); }
if (store.rpc) { return void cb(account); }
require(['/common/pinpad.js'], function (Pinpad) {
Pinpad.create(store.network, store.proxy, function (e, call) {
@@ -1670,6 +1671,7 @@ define([
});
});
Store.initAnonRpc(null, null, waitFor());
Store.initRpc(null, null, waitFor());
}).nThen(function (waitFor) {
postMessage(clientId, 'LOADING_DRIVE', {
state: 3