Bitcoin Forum
May 04, 2024, 08:02:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't make TXN'error: bad-txns-inputs-missingorspent'.Wrong balances on explorer  (Read 108 times)
BootsManuva (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 6


View Profile
March 10, 2024, 07:33:44 PM
Merited by LoyceV (4), ABCbits (2)
 #1

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
1714852966
Hero Member
*
Offline Offline

Posts: 1714852966

View Profile Personal Message (Offline)

Ignore
1714852966
Reply with quote  #2

1714852966
Report to moderator
1714852966
Hero Member
*
Offline Offline

Posts: 1714852966

View Profile Personal Message (Offline)

Ignore
1714852966
Reply with quote  #2

1714852966
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
BootsManuva (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 6


View Profile
March 10, 2024, 09:16:01 PM
 #2

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
Yamane_Keto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 486



View Profile WWW
March 11, 2024, 12:29:56 AM
Merited by ABCbits (1)
 #3

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

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16596


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 11, 2024, 06:28:26 AM
 #4

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.

nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
March 11, 2024, 08:42:10 AM
Merited by ABCbits (1)
 #5

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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Yamane_Keto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 486



View Profile WWW
March 12, 2024, 01:06:53 AM
 #6

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....

.BEST.CHANGE..███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!