test: Use mockable time in GuessVerificationProgress

Also add a test.
This commit is contained in:
MarcoFalke committed 2025-05-20 11:16:35 +02:00
1 parent af65fd1a33
commit faf6304bdf
3 files changed
+13 -4

No files matched your search

+3 -3
View File
@@ -613,9 +613,9 @@ public:
};
chainTxData = ChainTxData{
0,
0,
0
.nTime = 0,
.tx_count = 0,
.dTxRate = 0.001, // Set a non-zero rate to make it testable
};
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111);