diff options
author | Ikko Ashimine <eltociear@gmail.com> | 2020-12-24 22:37:17 +0900 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-01-04 12:31:31 +0800 |
commit | 1112035d32ffe73a4522226c8cb2f6a5878d3ada (patch) | |
tree | 7f5021ab6d285213918da66a9aaefa873ae4a5bc /src/wallet | |
parent | e8640849c775efcf202dbd34736fed8d61379c49 (diff) |
doc: fix various typos
Co-authored-by: Peter Yordanov <ppyordanov@yahoo.com>
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/sqlite.h | 2 | ||||
-rw-r--r-- | src/wallet/walletdb.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/sqlite.h b/src/wallet/sqlite.h index 442563184e..70ab4f797a 100644 --- a/src/wallet/sqlite.h +++ b/src/wallet/sqlite.h @@ -37,7 +37,7 @@ public: explicit SQLiteBatch(SQLiteDatabase& database); ~SQLiteBatch() override { Close(); } - /* No-op. See commeng on SQLiteDatabase::Flush */ + /* No-op. See comment on SQLiteDatabase::Flush */ void Flush() override {} void Close() override; diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index 5b72a01939..4e6270220e 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -426,7 +426,7 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue, uint256 checksum; ssValue >> checksum; if ((checksum_valid = Hash(vchPrivKey) != checksum)) { - strErr = "Error reading wallet database: Crypted key corrupt"; + strErr = "Error reading wallet database: Encrypted key corrupt"; return false; } } |