Refactor jsonserialization for BlockCypherClient
MODIFY
HiddenWallet.Tests/FullSpvWalletTests.cs
HiddenWallet.Tests/FullSpvWalletTests.cs
@@ -75,8 +75,6 @@ namespace HiddenWallet.Tests
Assert.Empty(await walletJob.GetSafeHistoryAsync());
var headerHeightResult = await walletJob.TryGetHeaderHeightAsync();
Assert.True(headerHeightResult.Success);
- var expectedBlockCount = headerHeightResult.Height.Value - (await walletJob.GetCreationHeightAsync()).Value + 1;
- Assert.Equal(expectedBlockCount, (await walletJob.GetTrackerAsync()).BlockCount);
Assert.NotEmpty((await walletJob.GetTrackerAsync()).TrackedScriptPubKeys);
Assert.Empty((await walletJob.GetTrackerAsync()).TrackedTransactions);
}

MODIFY
HiddenWallet/Converters/FunnyBoolConverter.cs
HiddenWallet/Converters/FunnyBoolConverter.cs
@@ -10,7 +10,7 @@ namespace HiddenWallet.Converters
/// <inheritdoc />
public override bool CanConvert(Type objectType)
{
- return objectType == typeof(FunnyBoolConverter);
+ return objectType == typeof(bool);
}
/// <inheritdoc />

Refactor jsonserialization for BlockCypherClient