Skip to content

Commit

Permalink
Fix attrsi version breaking compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Insoleet committed May 20, 2017
1 parent cd4a416 commit 22bf99c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
git+https://github.com/Insoleet/quamash.git@master
asynctest
networkx
attrs
attrs <= 17.0
duniter-mirage
duniterpy>=0.40
pytest
Expand Down
3 changes: 2 additions & 1 deletion src/sakia/data/entities/blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ class BlockchainParameters:
# The dt recomputation of the ud
dt_reeval = attr.ib(convert=int, default=0, cmp=False, hash=False)


@attr.s()
class Blockchain:
# Parameters in block 0
parameters = attr.ib(default=BlockchainParameters())
parameters = attr.ib(default=BlockchainParameters(), cmp=False, hash=False)
# block number and hash
current_buid = attr.ib(convert=block_uid, default=BlockUID.empty())
# Number of members
Expand Down

0 comments on commit 22bf99c

Please sign in to comment.