Add methods to decode information from output scripts
This commit is contained in:
parent
53f08a7569
commit
27b48e8aa2
5 changed files with 252 additions and 82 deletions
|
@ -108,7 +108,7 @@ function expandOutput (script, scriptType, ourPubKey) {
|
|||
|
||||
var scriptChunks = bscript.decompile(script)
|
||||
if (!scriptType) {
|
||||
scriptType = bscript.classifyOutput(scriptChunks)
|
||||
scriptType = bscript.classifyOutput(script)
|
||||
}
|
||||
|
||||
var pubKeys = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue