From e0873c764df906b4a3190b83210b5c34b17f7a30 Mon Sep 17 00:00:00 2001 From: OutCast3k Date: Sun, 14 Dec 2014 22:33:57 +0000 Subject: [PATCH] multisig addresses where being displayed incorrectly on the verify page when you decoded a transaction. This fixes that. --- js/coinbin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/coinbin.js b/js/coinbin.js index 6959429..194314d 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -580,10 +580,10 @@ $(document).ready(function() { if(o.script.chunks.length==5){ addr = coinjs.scripthash2address(Crypto.util.bytesToHex(o.script.chunks[2])); } else { - var priv = coinjs.priv; - coinjs.priv = 0x05; + var pub = coinjs.pub; + coinjs.pub = coinjs.multisig; addr = coinjs.scripthash2address(Crypto.util.bytesToHex(o.script.chunks[1])); - coinjs.priv = priv; + coinjs.pub = pub; } h += '';