diff --git a/js/coinbin.js b/js/coinbin.js index 5163414..0508df2 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -369,7 +369,7 @@ $(document).ready(function() { 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 - tx.addstealth(stealth, $(".amount",o).val()); + 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); } else { // neither address nor data