# Bad-txns-inputs-missingorspent

**URL:** <https://community.umbrel.com/t/bad-txns-inputs-missingorspent/18503>\
**Category:** Bitcoin and Lightning\
**Created:** [July 23, 2024, 4:01pm UTC](https://community.umbrel.com/t/bad-txns-inputs-missingorspent/18503 "2024-07-23T16:01:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spaik](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Spaik](https://community.umbrel.com/u/Spaik)\
**Post date:** [July 23, 2024, 4:01pm UTC](https://community.umbrel.com/t/bad-txns-inputs-missingorspent/18503/1 "2024-07-23T16:01:19Z")

</div>

Hi Guys,

i would like to ask for advice.  
My Bitcoin node wallet does not change balance after i sent sats out.  
Transaction was normally confirmed and whole amount well received on destination adress.  
However no reduction of balance happened on node wallet…

I am also stuck to sent out more funds with message:  
“Unable to send coins, bad-txns-inputs-missingorspent”

Any idea why this happend and how to fix this shit?

setup:  
Rpi4 8GB, 1TB SSD  
umbrelOS 1.2.1  
LND 0.18.0-beta

---

<div class="post-metadata">

**Author:** ![smolgrrr](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/smolgrrr/32/2825_2.png) [@smolgrrr](https://community.umbrel.com/u/smolgrrr)\
**Post date:** [July 24, 2024, 12:32pm UTC](https://community.umbrel.com/t/bad-txns-inputs-missingorspent/18503/2 "2024-07-24T12:32:38Z")

</div>

I see. Can you please try these steps here:

1. Open a terminal window on your computer. On macOS, you can open the Terminal app that’s installed by default on every Mac. On Windows, you can open Command Prompt or the PowerShell app.
2. Type in the following command `ssh -t umbrel@umbrel.local` and press the Enter key
3. Run the command `sed -i "s/\[Application Options\]/\[Application Options\]\nreset-wallet-transactions=true/g;" ~/umbrel/app-data/lightning/data/lnd/lnd.conf`

Restart your Lightning Node app from the “Advanced Settings" menu in the Lightning Node app by clicking the “Save and restart” button.

Wait for the rescanning process to complete.

Once complete, run the following command to ensure that the lengthy rescanning process does not occur again on subsequent restarts.

`sed -i "s/reset-wallet-transactions=true//g;" ~/umbrel/app-data/lightning/data/lnd/lnd.conf`

Restart your Lightning Node app from the “Advanced Settings” menu in the Lightning Node app by clicking the “Save and restart” button.

---

<div class="post-metadata">

**Author:** ![Spaik](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Spaik](https://community.umbrel.com/u/Spaik)\
**Post date:** [July 25, 2024, 9:40am UTC](https://community.umbrel.com/t/bad-txns-inputs-missingorspent/18503/3 "2024-07-25T09:40:15Z")

</div>

Hello!

i do exactly as your instruction and after 12h of rescanning it works!

Much appreciated!
