bugfix
This commit is contained in:
parent
274112005f
commit
335d0dcd96
2 changed files with 6 additions and 1 deletions
src
|
@ -296,6 +296,7 @@ Script.prototype.writeBytes = function (data)
|
|||
Script.createOutputScript = function (address)
|
||||
{
|
||||
var script = new Script();
|
||||
address = new Address(address);
|
||||
// Standard pay-to-pubkey-hash
|
||||
if (!address.version) {
|
||||
script.writeOp(Opcode.map.OP_DUP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue