Skip to content

Commit

Permalink
fix(node): add missed conversion of difficulty and hashrate to nu…
Browse files Browse the repository at this point in the history
…mber
  • Loading branch information
davidyuk committed Apr 8, 2024
1 parent 73eddfc commit 271ff5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const numberPropertyNames = [
'nonce', 'nextNonce', 'height', 'blockHeight', 'topBlockHeight',
'ttl', 'nameTtl', 'clientTtl',
'inbound', 'outbound', 'peerCount', 'pendingTransactionsCount', 'effectiveAtHeight',
'version', 'solutions', 'round', 'minutes', 'utilization',
'version', 'solutions', 'round', 'minutes', 'utilization', 'difficulty', 'hashrate',
] as const;

class NodeTransformed extends NodeApi {
Expand Down

0 comments on commit 271ff5e

Please sign in to comment.