From b400d87c9575e747828e348006d472b079b4f022 Mon Sep 17 00:00:00 2001 From: BTChip Date: Thu, 27 Apr 2017 08:53:20 +0200 Subject: [PATCH] Fix #430 --- app/scripts/uiFuncs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/uiFuncs.js b/app/scripts/uiFuncs.js index 137db4511b..3ed27a0995 100644 --- a/app/scripts/uiFuncs.js +++ b/app/scripts/uiFuncs.js @@ -56,7 +56,7 @@ uiFuncs.signTxTrezor = function(rawTx, txData, callback) { ); } uiFuncs.signTxLedger = function(app, eTx, rawTx, txData, old, callback) { - eTx.raw[6] = Buffer.from([1]); //ETH chain id + eTx.raw[6] = Buffer.from([rawTx.chainId]); eTx.raw[7] = eTx.raw[8] = 0; var toHash = old ? eTx.raw.slice(0, 6) : eTx.raw; var txToSign = ethUtil.rlp.encode(toHash);