When I run importprivkey it returns unsupported wallet instead of importing. Code:
bitcoin-cli importprivkey "priv_key" "label" false error code: -4 error message: This type of wallet does not support this command
Version bitcoin-cli -version Bitcoin Core RPC client version v22.99.0-9d099b02d8f0
Node fully synced (full node) Chain: main Blocks: 716934 Headers: 716934 Verification progress: 99.9999% Difficulty: 24272331996979.97
