Renames createInputScript to createPubKeyHashScriptSig
This commit is contained in:
parent
a4e68d142d
commit
69c0497038
2 changed files with 2 additions and 2 deletions
src
|
@ -419,7 +419,7 @@ Script.createMultisigOutputScript = function(m, pubKeys) {
|
|||
}
|
||||
|
||||
// {signature} {pubKey}
|
||||
Script.createInputScript = function(signature, pubKey) {
|
||||
Script.createPubKeyHashScriptSig = function(signature, pubKey) {
|
||||
var script = new Script()
|
||||
script.writeBytes(signature)
|
||||
script.writeBytes(pubKey.toBuffer())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue