aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2020-12-24 22:37:17 +0900
committerfanquake <fanquake@gmail.com>2021-01-04 12:31:31 +0800
commit1112035d32ffe73a4522226c8cb2f6a5878d3ada (patch)
tree7f5021ab6d285213918da66a9aaefa873ae4a5bc /src/wallet
parente8640849c775efcf202dbd34736fed8d61379c49 (diff)
doc: fix various typos
Co-authored-by: Peter Yordanov <ppyordanov@yahoo.com>
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/sqlite.h2
-rw-r--r--src/wallet/walletdb.cpp2
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;
}
}