Input validators crash wenn an undefined value is supplied
Created by: MichaelSchwab
Example:
var IOTA = require('iota.lib.js');
// Create IOTA instance directly with provider
var iota = new IOTA({
'provider': 'http://localhost:14265'
});
// undefined address
var adr;
iota.valid.isAddress(adr)
Result: node_modules/iota.lib.js/lib/utils/inputValidator.js:12 if (address.length === 90) { ^ TypeError: Cannot read property 'length' of undefined