diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-12-20 14:36:29 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-12-20 14:36:29 -0600 |
| commit | 561ff356b8fd149e0daa82bd8fc61e41f6fc46b6 (patch) | |
| tree | 32077bd1ab6d1dfd57c59e74666b294ee18340c5 /components | |
| parent | 806262a5a2b2eebfdd27eceab9a27b07033115db (diff) | |
| parent | 67787421e1330220c1729c2e6f2de5f7216bdc77 (diff) | |
| download | monzero-gui-561ff356b8fd149e0daa82bd8fc61e41f6fc46b6.tar.gz monzero-gui-561ff356b8fd149e0daa82bd8fc61e41f6fc46b6.tar.xz monzero-gui-561ff356b8fd149e0daa82bd8fc61e41f6fc46b6.zip | |
Merge pull request #1849
6778742 openalias: handle address validation correctly (mmbyday)
Diffstat (limited to 'components')
| -rw-r--r-- | components/InputMulti.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/InputMulti.qml b/components/InputMulti.qml index f7706d75..66ac1e6f 100644 --- a/components/InputMulti.qml +++ b/components/InputMulti.qml @@ -55,7 +55,7 @@ TextArea { if(addressValidation){ // js replacement for `RegExpValidator { regExp: /[0-9A-Fa-f]{95}/g }` textArea.text = textArea.text.replace(/[^a-z0-9.@]/gi,''); - var address_ok = TxUtils.checkAddress(textArea.text, appWindow.persistentSettings.nettype); + var address_ok = TxUtils.checkAddress(textArea.text, appWindow.persistentSettings.nettype) || TxUtils.isValidOpenAliasAddress(textArea.text); if(!address_ok) error = true; else error = false; TextArea.cursorPosition = textArea.text.length; |
