We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cf72be commit c03a234Copy full SHA for c03a234
NBitcoin/RPC/RestClient.cs
@@ -173,7 +173,7 @@ public async Task<ChainInfo> GetChainInfoAsync()
173
BestBlockHash = uint256.Parse((string)o["bestblockhash"]),
174
Blocks = (int)o["blocks"],
175
ChainWork = uint256.Parse((string)o["chainwork"]),
176
- Difficulty = (int)o["difficulty"],
+ Difficulty = (ulong)o["difficulty"],
177
Headers = (int)o["headers"],
178
VerificationProgress = (decimal)o["verificationprogress"],
179
IsPruned = (bool)o["pruned"]
@@ -301,7 +301,7 @@ public uint256 BestBlockHash
301
get;
302
internal set;
303
}
304
- public int Difficulty
+ public ulong Difficulty
305
{
306
307
0 commit comments