Author

Topic: Can't make TXN'error: bad-txns-inputs-missingorspent'.Wrong balances on explorer (Read 141 times)

hero member
Activity: 630
Merit: 510
Update

was able to move all tBTC from these wallets by importing seed to Electrum and completing txns there
I then added some tBTC to one of the wallets (tb1qkq9zcr9wavrzzsav5xythy32jrplh2sym8jmm0) from a other different wallets
However, I am still not able to send from Unisat wallet still same error, thought completing txns might have cleared the issue but it has not. It is still reporting more 'Available' than 'balance' though values have changed, obviously
seems like it must be a Unisat issue if I am able to send with another wallet app....
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
Just a heads-up to readers and posters of this topic, OP have also opened an issue in Unisat's GitHub repo
As of now it still haven't received any reply from the Devs and not yet solved, he spent it in Electrum instead.
Link: https://github.com/unisat-wallet/extension/issues/160

@BootsManuva, it would  be useful if you can share a screenshot of the transaction's "inputs (to sign)" here before clicking "Sign & Pay".
With it, we can accurately determine which caused the error, whether the transaction included a spent UTXO or their server missing any of the spent UTXO.

For the error, I can't reproduce it.
The closest I got is the discrepancy between the "Balance" and the "Available (safe to send)" tBTC which sorted out after a few confirmations.
It also managed to select the correct inputs as it only allows the "Available" to be spent.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
but it seems so strange that on the block explorer it seems wrong too - its a brand new wallet and I added 5.8 tBTC and its reporting received: ‎40.39202354 and sent: ‎34.65246190
Go to the block explorer, and CTRL-F "tb1q0puk6v8sm8zhcteyfm707f740g99kwztn7n57k" so your browser highlights the address. That shows what happened: you've sent small amounts several times, and the change was sent back to the original address. That counts as "received" again, and 7 times (almost) 5.8 makes it just over 40 in total.
hero member
Activity: 630
Merit: 510
bad-txns-inputs-missingorspent is a synchronization error that leads to an attempt to send a UTXO-output that was previously spent. to solve the problem, verify the synchronization and remove the transaction causing the problem, either by:
Go to advanced, clear activity tab data
Restart the browser. If it is Chrome, use the about:restart option
Use the coincotrol feature and spend from inputs that are not part of the previous UTXO-output.

There are already people who have complained and I think you have asked a question for the same problem, so wait for the team’s response if above steps above do not solve your problem https://github.com/unisat-wallet/extension/issues/154
newbie
Activity: 2
Merit: 6
thanks I will try that now....

but it seems so strange that on the block explorer it seems wrong too - its a brand new wallet and I added 5.8 tBTC and its reporting received: ‎40.39202354 and sent: ‎34.65246190

makes zero sense to me

Like something has been miss spent somewhere
newbie
Activity: 2
Merit: 6
Hey Sorry for the bad title. Didn't know how to explain

This is all on testnet. I am using Unisat wallet chrome extension

Set up new wallet today and added tBTC

Sent some to several wallets

Now I cant send any more transactions with above error message. I also can't send from one of the wallets I sent tBTC too.

I have (I think) a fair understanding of what 'error: bad-txns-inputs-missingorspent' means - that I am effectively trying to send some tBTC that is not there. But this makes no sense I have only sent fractions of that tBTC i put in this morning.

I checked the block explorer and found that the 'Total Sent' and 'Total Received' Are incredibly higher than the amounts I have put in (and none of the txns come close to those numbers). The balance looks about right but sent and received are totally wrong

Reviewing all the transactions (total of 7) there doesn't seem to be anything incorrect, I haven't sent a bad txn or anything I don't think

here is the wallet: https://mempool.space/testnet/address/tb1q0puk6v8sm8zhcteyfm707f740g99kwztn7n57k

Earlier I had assumed it was something that would sort out after a few blocks went by but wallet still seems broken after several hours (I don't understand how that can happen)

if anyone can help me fix or understand the problem would really appreciate it. Thanks in advance
Jump to: