txscript.ParsePkScript(scriptBytes)
returns "unsupported script type" #14
Labels
No labels
ci
claimtrie
consider soon
Epic
good first issue
hacktoberfest
help wanted
mempool
mining
peer
priority: blocker
priority: high
priority: low
priority: medium
rpc
runtime
test
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
ux
wallet
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbcd#14
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For example, transaction
5dda81f42196d2647a173b008d729cf778d3f609adf84610837f039c2f8e88ba
Decoding in code:
Inside the
ParsePkScript()
, it does detect thescriptClass
asPubKeyTy
, which is not consider a "Script" type in theisSupportedScriptType()
Guess it can write something similar to
ParsePKscript
for your case (handle PubKeyTy)the solution was to use txscript.ExtractPkScriptAddrs instead