Skip to content

v4 duplicate transactions non-segwit->segwit #545

@parazyd

Description

@parazyd

In testnet v4 I noticed duplicate transactions happening when sending coins from non-segwit addresses to segwit ones.
This also breaks balance fetch as it doubles up.

I can reproduce this when using both bx and zmq.

$ bx fetch-history c66eb3f4fb8b5613a4899b2d7351070f22386d345aaed3474af9fcf84a507bb9
transfers
{
    transfer
    {
        received
        {
            hash 74b945e0170735de9cbde60320680f1f28c05ef15ac3517e9443052592700a3b
            height 1972006
            index 0
        }
        value 1953337
    }
    transfer
    {
        received
        {
            hash 74b945e0170735de9cbde60320680f1f28c05ef15ac3517e9443052592700a3b
            height 1972006
            index 0
        }
        value 1953337
    }
}
$ bx fetch-balance c66eb3f4fb8b5613a4899b2d7351070f22386d345aaed3474af9fcf84a507bb9
balance
{
    key c66eb3f4fb8b5613a4899b2d7351070f22386d345aaed3474af9fcf84a507bb9
    received 3906674
    spent 0
}

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