mirror of
https://github.com/ok2/coinbin.git
synced 2026-04-24 03:34:02 +02:00
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
@ -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…
x
Reference in New Issue
Block a user