mirror of
https://github.com/jwinterm/Wownero-Light-Wallet.git
synced 2026-10-17 05:41:33 +02:00
Added regex for integrated addresses
This commit is contained in:
@@ -10,3 +10,5 @@ thumbs.db
|
||||
!.gitkeep
|
||||
.idea
|
||||
wowlight
|
||||
package-lock.json
|
||||
*.log
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
validate(){
|
||||
this.error = '';
|
||||
let form = jQuery('#sendForm');
|
||||
let regexp_address = /(W[o|W][a-zA-Z0-9]{95})/g;
|
||||
let regexp_address = /(W[o|W][a-zA-Z0-9]{95})|(So[a-zA-Z0-9]{106})/g;
|
||||
let address = form.find('textarea.address').val().trim();
|
||||
let amount = form.find('input.amount').val().trim();
|
||||
let usd = jQuery('form#sendForm .amount label small');
|
||||
|
||||
Reference in New Issue
Block a user