diff --git a/NBitcoin/RPC/RPCClient.cs b/NBitcoin/RPC/RPCClient.cs index 8e576363e..d9836abab 100644 --- a/NBitcoin/RPC/RPCClient.cs +++ b/NBitcoin/RPC/RPCClient.cs @@ -1291,6 +1291,7 @@ public async Task GetBlockchainInfoAsync(CancellationToken cance ChainWork = new uint256(result.Value("chainwork")), SizeOnDisk = result.Value("size_on_disk") ?? 0, Pruned = result.Value("pruned"), + PruneHeight = result.Value("pruneheight") ?? 0, SoftForks = softForks, Bip9SoftForks = bip9SoftForks }; @@ -2574,6 +2575,7 @@ public class Bip9SoftFork public uint256 ChainWork { get; set; } public ulong SizeOnDisk { get; set; } public bool Pruned { get; set; } + public ulong PruneHeight { get; set; } [Obsolete] public List SoftForks { get; set; }