-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] tx rejected: already have transaction #463
Comments
@zquestz I'll will take a look today. |
Seems like |
I'm not able to reproduce this issue, and looking at the code path I'm not seeing anything obvious that would cause it. The travis regtest tests has several uses of grpc SubmitTransaction endpoint and those tests pass, so I'm not sure that it must be something on master. |
I also am not able to reproduce this bug report. I am able to send transactions just fine on bchd.greyh.at... I also looked over the code that returns that error, I don't see a way that can happen without the node seeing the hash before... Do you have a tx hash so I can look at the logs? |
There you go @zquestz: |
Oh and there is one more thing... Broadcast throws: |
I've been getting this error when broadcasting brand new transactions (none besides me before this broadcast could possibly have seen this tx).
I've been using
grpc
interface and this error only happens when my client is connected tobchd.greyh.at:8335
, it works just fine forbchd.imaginary.cash:8335
. Maybe it has already been fixed and justgreyh
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).The text was updated successfully, but these errors were encountered: