Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
temporally disable EIP155 support to workaround EIP155 issue with cha…
Browse files Browse the repository at this point in the history
…inid > 255
  • Loading branch information
hackmod committed Jun 25, 2018
1 parent ef32de7 commit 49d5674
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/scripts/uiFuncs.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ uiFuncs.generateTx = function(txData, callback) {
}
uiFuncs.signTxLedger(app, eTx, rawTx, txData, !EIP155Supported, callback);
}
if (ajaxReq.eip155) {
// 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);
Expand Down

0 comments on commit 49d5674

Please sign in to comment.