Skip to content

Transaction missing p2sh input address #1

@blockparty-sh

Description

@blockparty-sh

(this is copied from 21centurymotorcompany/bitd#15)

I found this while testing my bitd-importer

https://blockchair.com/bitcoin-cash/transaction/a7f755127dc63f32ed14b00fa789f6d101a2a1af334ccbb4d91d7b957fafe7cc

First input should have address pzcgf24w3f6slgzn2nm5e08dv6lch4ngvgedfc4e4z however it doesn't show up. The other inputs address does show up.

https://bitdb.network/v3/explorer/ewogICJ2IjogMywKICAicSI6IHsKICAgICJmaW5kIjogewogICAgICAidHguaCI6ICAiYTdmNzU1MTI3ZGM2M2YzMmVkMTRiMDBmYTc4OWY2ZDEwMWEyYTFhZjMzNGNjYmI0ZDkxZDdiOTU3ZmFmZTdjYyIKICAgIH0KICB9Cn0=

Another example is:

390a6806e8ebe0eb7d6fa83fa14810fef0669a9b4aafbdc4bb7389068f2fb81b / pzcf8fn0wc8aphkw4cgqjuzpd2xpeyggqu4v3vzqln

I think it is related to how p2sh addresses are parsed. It may be an issue upstream to bitcoincashlib ? It'd probably be useful to check first if it is fixed in bitcore-lib-cash if that's the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions