upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/walletcmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/walletcmd.cpp')
-rw-r--r--src/walletcmd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/walletcmd.cpp b/src/walletcmd.cpp
index 71f1ec3..6fb09a3 100644
--- a/src/walletcmd.cpp
+++ b/src/walletcmd.cpp
@@ -573,6 +573,11 @@ static bool ReadWalletStorageCounts(WalletStorageAuditCounts& counts,
573 CDataStream ssKey = ssKeyIn; 573 CDataStream ssKey = ssKeyIn;
574 std::string strType; 574 std::string strType;
575 ssKey >> strType; 575 ssKey >> strType;
576 if (ssKey.fail())
577 {
578 counts.nMalformed++;
579 return true;
580 }
576 CountWalletStorageType(strType, counts); 581 CountWalletStorageType(strType, counts);
577 } 582 }
578 catch (...) 583 catch (...)