From de7a32ea8c68f413ccb0b585aed30db8f7a6e9ad Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 2 Jul 2018 08:41:29 +0200 Subject: [PATCH 1/2] fix displaying call in terminal --- src/app/execution/txLogger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js index 9e7d698747..68f0a9b774 100644 --- a/src/app/execution/txLogger.js +++ b/src/app/execution/txLogger.js @@ -371,7 +371,7 @@ function txDetails (e, tx, data, obj) { log.appendChild(arrowUp) table = createTable({ hash: data.tx.hash, - status: data.receipt.status, + status: data.receipt ? data.receipt.status : null, isCall: data.tx.isCall, contractAddress: data.tx.contractAddress, data: data.tx, From 394ba55c64252ab25d39e6de3d984dede88e21e7 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 2 Jul 2018 08:55:02 +0200 Subject: [PATCH 2/2] fix import with firefox --- src/app/compiler/compiler-imports.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/compiler/compiler-imports.js b/src/app/compiler/compiler-imports.js index c1fb53de46..97fb1ab1a6 100644 --- a/src/app/compiler/compiler-imports.js +++ b/src/app/compiler/compiler-imports.js @@ -12,10 +12,7 @@ module.exports = class CompilerImports { return request.get( { url: 'https://api.github.com/repos/' + root + '/contents/' + path, - json: true, - headers: { - 'User-Agent': 'Remix' - } + json: true }, (err, r, data) => { if (err) {