mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
internal/jsre/deps: change unit from "eth" to "wlc"
This commit is contained in:
parent
68a038ae6a
commit
2b9f9285d2
1 changed files with 11 additions and 11 deletions
|
|
@ -1884,33 +1884,33 @@ var sha3 = require('./sha3.js');
|
||||||
var utf8 = require('utf8');
|
var utf8 = require('utf8');
|
||||||
|
|
||||||
var unitMap = {
|
var unitMap = {
|
||||||
'noether': '0',
|
'nowlc': '0',
|
||||||
'wei': '1',
|
'wei': '1',
|
||||||
'kwei': '1000',
|
'kwei': '1000',
|
||||||
'Kwei': '1000',
|
'Kwei': '1000',
|
||||||
'babbage': '1000',
|
'babbage': '1000',
|
||||||
'femtoether': '1000',
|
'femtowlc': '1000',
|
||||||
'mwei': '1000000',
|
'mwei': '1000000',
|
||||||
'Mwei': '1000000',
|
'Mwei': '1000000',
|
||||||
'lovelace': '1000000',
|
'lovelace': '1000000',
|
||||||
'picoether': '1000000',
|
'picowlc': '1000000',
|
||||||
'gwei': '1000000000',
|
'gwei': '1000000000',
|
||||||
'Gwei': '1000000000',
|
'Gwei': '1000000000',
|
||||||
'shannon': '1000000000',
|
'shannon': '1000000000',
|
||||||
'nanoether': '1000000000',
|
'nanowlc': '1000000000',
|
||||||
'nano': '1000000000',
|
'nano': '1000000000',
|
||||||
'szabo': '1000000000000',
|
'szabo': '1000000000000',
|
||||||
'microether': '1000000000000',
|
'microwlc': '1000000000000',
|
||||||
'micro': '1000000000000',
|
'micro': '1000000000000',
|
||||||
'finney': '1000000000000000',
|
'finney': '1000000000000000',
|
||||||
'milliether': '1000000000000000',
|
'milliwlc': '1000000000000000',
|
||||||
'milli': '1000000000000000',
|
'milli': '1000000000000000',
|
||||||
'ether': '1000000000000000000',
|
'wlc': '1000000000000000000',
|
||||||
'kether': '1000000000000000000000',
|
'kwlc': '1000000000000000000000',
|
||||||
'grand': '1000000000000000000000',
|
'grand': '1000000000000000000000',
|
||||||
'mether': '1000000000000000000000000',
|
'mwlc': '1000000000000000000000000',
|
||||||
'gether': '1000000000000000000000000000',
|
'gwlc': '1000000000000000000000000000',
|
||||||
'tether': '1000000000000000000000000000000'
|
'twlc': '1000000000000000000000000000000'
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue