Skip to content

[BUG] tx rejected: already have transaction #463

@elderapo

Description

@elderapo

I've been getting this error when broadcasting brand new transactions (none besides me before this broadcast could possibly have seen this tx).

3 INVALID_ARGUMENT: tx rejected: already have transaction

I've been using grpc interface and this error only happens when my client is connected to bchd.greyh.at:8335, it works just fine for bchd.imaginary.cash:8335. Maybe it has already been fixed and just greyh is using an outdated version? Haven't had time to spin up and sync my own nodes to test that theory though...

As a workaround I've been catching errors and checking if it's error code is 3 and if so just treated tx as successfully broadcasted (and calculating its txid on my own instead of using one from the response).

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