SendTransaction: CommitTransaction failed


got this error at getoperationstatus if I try to send a transaction at testnet. I tried 2.1.2 and 3.0. BC is fully synced. I use zcash-cli. Any hints?


edit: Because no answer I tried a reindex but now it crashed at block 583999. Next stop fresh wallet/blockchain and import privkeys. I am tired of this …

edit part 2: after a new bc download I get:

zcashd: wallet/wallet.cpp:1080: void CopyPreviousWitnesses(NoteDataMap&, int, int64_t) [with NoteDataMap = std::map<SaplingOutPoint, SaplingNoteData>; int64_t = long int]: Assertion `(nd->witnessHeight == -1) || (nd->witnessHeight == indexHeight - 1)' failed.

… what a mess and waste of time.