feature/default_network_editable
Esteban MIno 6 years ago
parent 3f57d5f66b
commit 15ea8c04b2
  1. 1
      app/scripts/controllers/preferences.js

@ -454,6 +454,7 @@ class PreferencesController {
const numDecimals = parseInt(decimals, 10)
if (isNaN(numDecimals) || numDecimals > 18 || numDecimals < 0) throw new Error(`Invalid decimals ${decimals}`)
if (!isValidAddress(rawAddress)) throw new Error(`Invalid address ${rawAddress}`)
}
/**
* Subscription to network provider type.

Loading…
Cancel
Save