remove unneeded value o.valid from addressDecode()

This commit is contained in:
OutCast3k
2015-01-02 13:52:01 +00:00
parent 05ecc8bfc9
commit e78e2570df
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ $(document).ready(function() {
var ad = coinjs.addressDecode(a)
if(((a!="") && (ad.version === 0 || ad.version === 5)) && $(".amount",o).val()!=""){ // address
tx.addoutput(a, $(".amount",o).val());
} else if ((((a!="") && ad.version === 42) && ad.valid==true) && $(".amount",o).val()!=""){ // stealth address
} else if (((a!="") && ad.version === 42) && $(".amount",o).val()!=""){ // stealth address
tx.addstealth(ad, $(".amount",o).val());
} else if (((($("#opReturn").is(":checked")) && a.match(/^[a-f0-9]+$/ig)) && a.length<80) && (a.length%2)==0) { // data
tx.adddata(a);