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:
parent
d6ab6bb4fa
commit
7276e80816
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user