problem seems to be that Script.prototype._getInputAddressInfo calls this.isPublickKeyHashIn() and this.isScriptHashIn() and both return false