Skip to content

Commit

Permalink
fix(bridge): corrections in migrations scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed May 18, 2021
1 parent 3e8c883 commit 789c73e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion migrations/02_singleton_libs.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = async function (deployer, network, accounts) {
makerBalance = await web3.eth.getBalance(res.sender)
}

var tx = await web3.eth.sendSignedTransaction(res.rawTx)
const tx = await web3.eth.sendSignedTransaction(res.rawTx)
traceDeploymentTx(tx, web3.utils.fromWei((balance - await web3.eth.getBalance(from)).toString()))

} else {
Expand Down
4 changes: 0 additions & 4 deletions utils/traceEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@ module.exports = async function (logs, web3) {
default:
continue;
}
var tabs = '\t'
if (event.length < 13) tabs ="\t\t"

console.log(" ", `>> ${event}${tabs}(${params})`)
}
}

0 comments on commit 789c73e

Please sign in to comment.