mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Ensure conversion util does not return insignificant trailing zeroes.
This commit is contained in:
parent
a67d3ecd46
commit
566ffee8cd
@ -51,7 +51,7 @@ const toSpecifiedDenomination = {
|
||||
}
|
||||
const baseChange = {
|
||||
hex: n => n.toString(16),
|
||||
dec: n => n.toString(10),
|
||||
dec: n => Number(n).toString(10),
|
||||
BN: n => new BN(n.toString(16)),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user