Skip to content

Commit

Permalink
fix invalid character, updates in BN lib, revert to string and number…
Browse files Browse the repository at this point in the history
…s format
  • Loading branch information
Tatiana committed Nov 3, 2023
1 parent b8056f0 commit e1ac271
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ui/wallet/src/ProxeusEthereum/MetamaskUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ class MetamaskUtil {
this.MIN_GAS_PRICE_BN = this.MIN_GAS_PRICE_GWEI_BN.mul(this.GWEI_FACTOR)

this.valueTable = {
wei: 1e18,
kwei: 1e15,
mwei: 1e12,
gwei: 1e9,
szabo: 1e6,
finney: 1e3,
wei: '1000000000000000000',
kwei: '1000000000000000',
mwei: '1000000000000',
gwei: '1000000000',
szabo: '1000000',
finney: '1000',
ether: 1,
kether: 0.001,
mether: 0.000001,
Expand Down

0 comments on commit e1ac271

Please sign in to comment.