You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RPC_WALLET_NOT_FOUND, "No wallet is loaded. Load a wallet using loadwallet or create a new one with createwallet. (Note: A default wallet is no longer automatically created)");
73
+
}
74
+
throwJSONRPCError(RPC_WALLET_NOT_SPECIFIED,
75
+
"Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path).");
76
+
}
77
+
78
+
voidEnsureWalletIsUnlocked(const CWallet& wallet)
79
+
{
80
+
if (wallet.IsLocked()) {
81
+
throwJSONRPCError(RPC_WALLET_UNLOCK_NEEDED, "Error: Please enter the wallet passphrase with walletpassphrase first.");
RPC_WALLET_NOT_FOUND, "No wallet is loaded. Load a wallet using loadwallet or create a new one with createwallet. (Note: A default wallet is no longer automatically created)");
118
-
}
119
-
throwJSONRPCError(RPC_WALLET_NOT_SPECIFIED,
120
-
"Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path).");
121
-
}
122
-
123
-
voidEnsureWalletIsUnlocked(const CWallet& wallet)
124
-
{
125
-
if (wallet.IsLocked()) {
126
-
throwJSONRPCError(RPC_WALLET_UNLOCK_NEEDED, "Error: Please enter the wallet passphrase with walletpassphrase first.");
0 commit comments