From 1c3e81bfd270343ed59d27e98708bc926103d483 Mon Sep 17 00:00:00 2001 From: OutCast3k Date: Fri, 3 Jul 2015 18:47:58 +0100 Subject: [PATCH] update coinbin.js as it wasn't allowing multisig addresses to be added to new transactions --- js/coinbin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/coinbin.js b/js/coinbin.js index 6d6e4fc..1044af0 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -413,7 +413,7 @@ $(document).ready(function() { $.each($("#recipients .row"), function(i,o){ var a = ($(".address",o).val()); var ad = coinjs.addressDecode(a); - if(((a!="") && (ad.version == coinjs.pub || ad.version == coinjs.priv)) && $(".amount",o).val()!=""){ // address + if(((a!="") && (ad.version == coinjs.pub || ad.version == coinjs.multisig)) && $(".amount",o).val()!=""){ // address tx.addoutput(a, $(".amount",o).val()); } else if (((a!="") && ad.version === 42) && $(".amount",o).val()!=""){ // stealth address tx.addstealth(ad, $(".amount",o).val());