mirror of
https://github.com/OutCast3k/coinbin.git
synced 2025-01-23 02:16:18 +01:00
update coinbin.js as it wasn't allowing multisig addresses to be added to new transactions
This commit is contained in:
parent
cf71efcf59
commit
1c3e81bfd2
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user