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:
authorNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-14 11:51:14 -0300
committerNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-14 12:13:38 -0300
commit83b9c4feddeac14bbc5edf63b44d3a2013384ecc (patch)
tree1181df60aaefb3d67c85dd9f5aa816f787835fc1 /src/walletcmd.cpp
parent225a89b643a79b73351abe530d6eb7af8906be63 (diff)
tests: prove wallet storage sanity failures
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 (...)