Skip to content
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

Not able to submit transactions in queue #350

Open
ItsAditya-xyz opened this issue May 18, 2022 · 1 comment
Open

Not able to submit transactions in queue #350

ItsAditya-xyz opened this issue May 18, 2022 · 1 comment

Comments

@ItsAditya-xyz
Copy link

I am getting error every time I submit transactions in queue.

I have mass unfollow, thread builder, mass creator coin buy/sell feature in my app which used to work perfectly few days ago.
(Users were even able to make 5000+ unfollow transactions without any problem)
But now, the second time i submit a transaction, I am getting this error

{
     "error": "SubmitTransaction: Problem processing transaction: VerifyAndBroadcastTransaction: Problem broadcasting txn: 
     BroadcastTransaction: : Server._handleTransaction: Problem adding transaction to mempool: : tryAcceptTransaction: Problem 
     connecting transaction after connecting dependencies: : ConnectTransaction: : _connectSubmitPost: : 
     RuleErrorInputSpendsPreviouslySpentOutput"
}

image

Any idea why this is happening now?
@diamondhands0 @lazynina

@lazynina
Copy link
Member

This error happens when the previous transaction hasn't hit the mempool yet. Basically you're constructing a transaction that's using UTXOs that were spent by a previous transaction. Use the get-txn endpoint to make sure the txn has hit the mempool before constructing the next transaction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@ItsAditya-xyz @lazynina and others