Support of string input for getNetworkDisplayName() method
This commit is contained in:
parent
b529513b1a
commit
2d108c3457
|
@ -1,5 +1,6 @@
|
|||
function getNetworkDisplayName(network) {
|
||||
switch (network) {
|
||||
const netID = parseInt(network)
|
||||
switch (netID) {
|
||||
case 1:
|
||||
return 'Main Ethereum Network'
|
||||
case 3:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eth-net-props",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "Get properties of EMV-based network",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
|
|
Loading…
Reference in New Issue