1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Removed logs

This commit is contained in:
Dan Finlay 2016-04-19 18:58:34 -07:00
parent d6ab6bb4fa
commit 7276e80816

View File

@ -94,9 +94,7 @@ function normalizeToWei(amount, currency) {
var multiple = new ethUtil.BN('1000', 10)
function normalizeNumberToWei(n, currency) {
var enlarged = n * 1000
console.log(`Enlarged, we have ${enlarged}`)
var amount = new ethUtil.BN(String(enlarged), 10)
console.log("Amount inside is "+ amount.toString(10))
return normalizeToWei(amount, currency).div(multiple)
}