From 3ccde4599b5150577400c4fa9029f4146617f751 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Wed, 13 Apr 2022 15:34:23 -0400 Subject: walletdb: Refactor crypted key loading to its own function --- src/wallet/walletdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/walletdb.h') diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index 4228d428fa..86b92e5f35 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -307,6 +307,7 @@ using KeyFilterFn = std::function; bool ReadKeyValue(CWallet* pwallet, DataStream& ssKey, CDataStream& ssValue, std::string& strType, std::string& strErr, const KeyFilterFn& filter_fn = nullptr); bool LoadKey(CWallet* pwallet, DataStream& ssKey, DataStream& ssValue, std::string& strErr); +bool LoadCryptedKey(CWallet* pwallet, DataStream& ssKey, DataStream& ssValue, std::string& strErr); } // namespace wallet #endif // BITCOIN_WALLET_WALLETDB_H -- cgit v1.2.3