Browse Source
Fixes #1215. Prior to this commit it was possible to send a non-coinjoin transaction while the maker service was running, over the RPC-API call direct-send. However this was not intentional, as it is not usually safe to perform UTXO database write actions when the effective 'lock' on write actions is already held by a long running service/action such as yield generator or tumbler. This commit prevents that call being successful if the current state of the JMWalletDaemon is not CJ_NOT_RUNNING. This commit also disables freeze actions in the same situation, and changes the HTTP error code for these cases to 400.master
1 changed files with 20 additions and 0 deletions
Loading…
Reference in new issue