multisig addresses where being displayed incorrectly on the verify page when you decoded a transaction. This fixes that.
This commit is contained in:
parent
a248b84b72
commit
e0873c764d
1 changed files with 3 additions and 3 deletions
|
@ -580,10 +580,10 @@ $(document).ready(function() {
|
||||||
if(o.script.chunks.length==5){
|
if(o.script.chunks.length==5){
|
||||||
addr = coinjs.scripthash2address(Crypto.util.bytesToHex(o.script.chunks[2]));
|
addr = coinjs.scripthash2address(Crypto.util.bytesToHex(o.script.chunks[2]));
|
||||||
} else {
|
} else {
|
||||||
var priv = coinjs.priv;
|
var pub = coinjs.pub;
|
||||||
coinjs.priv = 0x05;
|
coinjs.pub = coinjs.multisig;
|
||||||
addr = coinjs.scripthash2address(Crypto.util.bytesToHex(o.script.chunks[1]));
|
addr = coinjs.scripthash2address(Crypto.util.bytesToHex(o.script.chunks[1]));
|
||||||
coinjs.priv = priv;
|
coinjs.pub = pub;
|
||||||
}
|
}
|
||||||
|
|
||||||
h += '<tr>';
|
h += '<tr>';
|
||||||
|
|
Loading…
Reference in a new issue