Skip to content

Commit

Permalink
Difficulty is now a floating point number
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithm committed Dec 18, 2018
1 parent 48a4c2f commit 42f175a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Network/Bitcoin/BlockChain.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ data Block = Block { blockHash :: BlockHash
, blkNonce :: Integer
, blkBits :: HexString
-- | How hard was this block to mine?
, blkDifficulty :: Integer
, blkDifficulty :: Double
-- | A pointer to the next block in the chain.
, nextBlock :: Maybe BlockHash
-- | A pointer to the previous block in the chain.
Expand Down

0 comments on commit 42f175a

Please sign in to comment.