mycelium-com / wallet-android

Mycelium Bitcoin Wallet for Android
http://mycelium.com
Other
668 stars 323 forks source link

Transaction signing failed. Transaction referenced by input 0 of has already been spent. #501

Closed anonimou0 closed 5 years ago

anonimou0 commented 5 years ago

I'm trying to send funds to an address but I'm getting the following error:

Transaction signing failed. Please report incident to tech support. Raw transaction was copied to clipboard, if possible please attach it to your request.

Here it is the raw transaction: 010000000001011a50cd6fb07c3da0343affd15394e6a179a5563f047e34567f2eb703c41f818a01000000171600147ddeb118fbdf3f82f5d31881afbf529dbdc5eff8ffffffff01bbe111000000000016001480546427cd1ce52c1dafb91f074e0585dbaaa1df0247304402205cee7bd8e51d279f315880c7fbe30cd86b9550902f24f2e37cf6d4a69350cff402200bb3005442ffba37eb46a7c52f7dd2ba9a97c34205ea65570d57608846210bcf01210203042d3498e563d619dcaeace7667fd919a3b5b9908db79da1c6953fe3fea3b200000000

I've sent three or four transactions that were not being confirmed because of "low" fees (at the time ~7sat/byte). Then I sent another one with 25+sat/byte that confirmed it and the all the olders.

When I try to push the raw TX, on Blockchain.info I get:

Validation Error: BitcoindException(super=com.neemre.btcdcli4j.core.BitcoindException: Error #-25: Missing inputs, code=-25)

On Blockcypher I get:

Error validating transaction: Transaction 8a811fc403b72e7f56347e043f56a579a1e69453d1ff3a34a03d7cb06fcd501a referenced by input 0 of cfe4d64fb93ab64baf0eaa7fc71533280962766fcb8c899d3ad52a5152e127cf has already been spent..

anonimou0 commented 5 years ago

So, after "Reloading account", the transactions were loaded properly and I could send a transaction.

The question that remains is why the account wasn't properly refreshed once the transactions confirmed.