diff --git a/app/scripts/uiFuncs.js b/app/scripts/uiFuncs.js index 1e4e382c96..6da2b28336 100644 --- a/app/scripts/uiFuncs.js +++ b/app/scripts/uiFuncs.js @@ -190,7 +190,12 @@ uiFuncs.generateTx = function(txData, callback) { } uiFuncs.signTxLedger(app, eTx, rawTx, txData, !EIP155Supported, callback); } - app.getAppConfiguration(localCallback); + // workaround FIXME https://github.com/LedgerHQ/ledgerjs/issues/168 + if (ajaxReq.eip155 && rawTx.chainId < 256) { + app.getAppConfiguration(localCallback); + } else { + uiFuncs.signTxLedger(app, eTx, rawTx, txData, true, callback); + } } else if ((typeof txData.hwType != "undefined") && (txData.hwType == "trezor")) { uiFuncs.signTxTrezor(rawTx, txData, callback); } else if ((typeof txData.hwType != "undefined") && (txData.hwType == "web3")) {