The standard wallet deleter function blocks on the validation interface queue, which doesn't exist for the bitcoin-wallet. Define our own deleter here.
| 23 | // queue, which doesn't exist for the bitcoin-wallet. Define our own |
| 24 | // deleter here. |
| 25 | static void WalletToolReleaseWallet(CWallet* wallet) |
| 26 | { |
| 27 | wallet->WalletLogPrintf("Releasing wallet\n"); |
| 28 | wallet->Close(); |
| 29 | delete wallet; |
| 30 | } |
| 31 | |
| 32 | static void WalletCreate(CWallet* wallet_instance, uint64_t wallet_creation_flags) |
| 33 | { |
nothing calls this directly
no test coverage detected