Skip to content

scriptPubKey "type": "pubkey" without address prevents first indexing of explorer #447

@NiKrause

Description

@NiKrause

I tried syncing our blockchain and found an output with scriptPubKey "type": "pubkey".

lib/explorer.js line 500 is filtering out nonstandard and nulldata outputs and expects pubkeyhash outputs with addresses attribute.
Bildschirmfoto 2021-03-10 um 11 12 59

In our case the output doesn't have any address just as it seems the pubkey inside asm
Bildschirmfoto 2021-03-10 um 11 14 04

The input of this transaction is a coinbase transaction it seems some miner did this but the explorer script cannot interpret this.

For now I'll filter out type: "pubkey" transactions also in line 500 but I don't know if it has side effects regarding to balances or anything else. In case you want the pull request of it let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions