-
Notifications
You must be signed in to change notification settings - Fork 268
Open
Labels
bugfixed-in-v0.6This issue has been resolved in the development version (available on the v0.6 branch)This issue has been resolved in the development version (available on the v0.6 branch)
Milestone
Description
address_from_string does not recognize blocksci.ScriptHashAddress, just gives back NoneType
Expected Result
return type "blocksci.ScriptHashAddress"
Actual Result
NoneType
Reproduction Steps
import blocksci
chain = blocksci.Blockchain("/bitcoin-data")
# address_from_string delivers NoneType
test = chain.address_from_string('35FEfa7YkaTnMDxhpKUHWA9QPVuyrhHGfQ')
type(test)
# Output: NoneType
# Using a transaction to indirectly read the address works, therefore address should be stored in database
test = blocksci.Tx('08958a79972c4f535ed93198a247be387bb175fa695b47c58664e6b99b45fc15',chain).outputs.all[1].address
test.address_string
type(test)
# Output:
# "35FEfa7YkaTnMDxhpKUHWA9QPVuyrhHGfQ"
# blocksci.ScriptHashAddress
System Information
BlockSci version: 0.5
Using AMI: no
Total memory: 64 GiB
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugfixed-in-v0.6This issue has been resolved in the development version (available on the v0.6 branch)This issue has been resolved in the development version (available on the v0.6 branch)