Add methods to decode information from output scripts

This commit is contained in:
Thomas Kerin 2016-11-01 16:06:01 +01:00 committed by Daniel Cousens
parent 53f08a7569
commit 27b48e8aa2
5 changed files with 252 additions and 82 deletions

View file

@ -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 = []