Merge branch 'master' into react-guide

pull/1498/head
David Disu 3 years ago committed by GitHub
commit ef152de621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/remix-ide/src/blockchain/blockchain.js

@ -501,7 +501,7 @@ class Blockchain extends Plugin {
if (isVM) {
const hhlogs = await this.web3().eth.getHHLogsForTx(txResult.transactionHash)
if (hhlogs && hhlogs.length) {
let finalLogs = 'console.log:\n'
let finalLogs = '<b>console.log:</b>\n'
for (const log of hhlogs) {
let formattedLog
// Hardhat implements the same formatting options that can be found in Node.js' console.log,
@ -513,7 +513,7 @@ class Blockchain extends Plugin {
} else {
formattedLog = log.join(' ')
}
finalLogs = finalLogs + formattedLog + '\n'
finalLogs = finalLogs + '&emsp;' + formattedLog + '\n'
}
this.call('terminal', 'log', { type: 'info', value: finalLogs })
}

Loading…
Cancel
Save