I'm having this bizarre problem. I've got this address A where I received two deposits, both are confirmed. I consolidated all my balance in a single address B (i.e. I sent my full balance to B). Since I moved my full balance I would expect all my addresses to be zero (except for B), but I noticed that address A has now non-zero balance: only one of the two deposits was used (let's call this output X). My guess is that the balance I'm getting with getinfo and getbalance is not actually my full balance and it's missing output X. Do you have any idea what may be happening? Things I've tried:
- X appears unspent in block explorer
- I ran gettxout with X and it correctly returns information (meaning X is actually not spent)
- I ran listunspent and I'm not getting X (meaning it's spent?)
Thanks in advice!