mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 19:48:13 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
7b8e30a897
@ -268,7 +268,7 @@ var inputAddressFormatter = function (address) {
|
||||
} else if (utils.isAddress(address)) {
|
||||
return '0x' + address;
|
||||
}
|
||||
throw 'invalid address';
|
||||
throw new Error('invalid address');
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user