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) { 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,