Ok, so here we go
I have Rescanned, checked, and repaired wallet. I have unlocked wallet for minting purposes. I have dumped private keys and imported them to a new clean wallet...twice!.
First time I imported all private keys from all addresses associated with my original wallet, even the ones with zero balance.
First transaction...error message again!
I re-imported them to another new wallet but this time only imported addresses with a balance. Seemed to be ok for 2 transactions then the dreaded error again.
Every time I get this error a number of coins are added to my wallet balance
If I 'checkwallet' command in the debug-console I get the code....(just an example changes every time) "mismatched spent coins" : 2,
"amount in question" : 4.66262000.(although I am only sending 0.1 bitbar in my giveaway!)
If I then do a 'repairwallet' command I get the code "mismatched spent coins" : 2,
"amount affected by repair" : 4.66262000
I then do another 'checkwallet' command and "wallet check passed" : true
Yet my balance Goes up more every time I do this.
The only thing I can think of is, I may have used an old wallet.dat in the past, that was backed up before I made new transactions, and copied into Roaming/bitbar folder after re-downloading blockchain, and this had wrong transaction info on it.
However if I have imported the private keys of addresses into a clean client this should not matter.
I'm stumped