error code: -26 error message: bad-txns-nonstandard-inputs (code 64)
kristapsk opened this issue · 3 comments
kristapsk commented
Some users get this when running fake-coinjoin.sh
.
Sign and broadcast this transaction? y
error code: -26
error message:
bad-txns-nonstandard-inputs (code 64)
Terminated
kristapsk commented
This can happen when one or more UTXO's chosen as transaction inputs, to which Core wallet does not have keys, so can't sign them. For example, if you use Bitcoin Core wallet and also use the same instance as a full node for JoinMarket wallet. Or you have any other watch-only addresses imported with non-zero balance.
nopara73 commented
I guess other than showing proper error message you cannot do much about it.
kristapsk commented
@nopara73 , no I can, filter UTXO's returned by listunspent
by spendable
flag, see commit above.
As for better error message for this error (which should not happen anymore with fake coinjoin script), there is a PR in Bitcoin Core - bitcoin/bitcoin#13525.