Fix realhistory test
MODIFY
HiddenWallet.FullSpvWallet/WalletJob.cs
HiddenWallet.FullSpvWallet/WalletJob.cs
@@ -1099,7 +1099,7 @@ namespace HiddenWallet.FullSpv
{
AssertAccount(account);
- HashSet<Script> scriptPubKeys = new HashSet<Script>();
+ var scriptPubKeys = new HashSet<Script>();
int i = 0;
while (true)
{

MODIFY
HiddenWallet.Tests/FullSpvWalletTests.cs
HiddenWallet.Tests/FullSpvWalletTests.cs
@@ -205,15 +205,15 @@ namespace HiddenWallet.Tests
try
{
// wait until fully synced
- while (!_syncedOnce)
- {
- await Task.Delay(1000);
- }
+ //while (!_syncedOnce)
+ //{
+ // await Task.Delay(1000);
+ //}
await Helpers.ReportFullHistoryAsync(walletJob);
// 0. Query all operations, grouped our used safe addresses
- int MinUnusedKeyNum = 37;
+ int MinUnusedKeyNum = 74;
Dictionary<BitcoinAddress, List<BalanceOperation>> operationsPerAddresses = await Helpers.QueryOperationsPerSafeAddressesAsync(new QBitNinjaClient(safe.Network), safe, MinUnusedKeyNum);
Dictionary<uint256, List<BalanceOperation>> operationsPerTransactions = QBitNinjaJutsus.GetOperationsPerTransactions(operationsPerAddresses);

Fix realhistory test