aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r--src/wallet/rpcwallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 497a4120e5..891d650ad3 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -2647,6 +2647,7 @@ static UniValue createwallet(const JSONRPCRequest& request)
DatabaseOptions options;
DatabaseStatus status;
+ options.require_create = true;
options.create_flags = flags;
options.create_passphrase = passphrase;
bilingual_str error;