diff options
Diffstat (limited to 'js')
| -rw-r--r-- | js/TxUtils.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/TxUtils.js b/js/TxUtils.js index cdb7e719..a6cca114 100644 --- a/js/TxUtils.js +++ b/js/TxUtils.js @@ -56,3 +56,11 @@ function checkSignature(signature) { return false; } +function isValidOpenAliasAddress(address) { + address = address.trim() + var dot = address.indexOf('.') + if (dot < 0) + return false + // we can get an awful lot of valid domains, including non ASCII chars... accept anything + return true +} |
