From da2d20f47780455c7de5c400cd887a3c4676a28e Mon Sep 17 00:00:00 2001 From: bulldozer2003 Date: Fri, 19 Jun 2015 12:13:15 -0500 Subject: [PATCH] display base58 address in addition to public key when decoding redeem script --- js/coinbin.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/coinbin.js b/js/coinbin.js index 885be2e..321d23a 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -670,7 +670,9 @@ $(document).ready(function() { $("#verifyRsData .signaturesRequired").html(decode['signaturesRequired']); $("#verifyRsData table tbody").html(""); for(var i=0;i').appendTo("#verifyRsData table tbody"); + var pubkey = decode.pubkeys[i]; + var address = coinjs.pubkey2address(pubkey); + $('').appendTo("#verifyRsData table tbody"); } $("#verifyRsData").removeClass("hidden"); $(".verifyLink").attr('href','?verify='+$("#verifyScript").val());