Skip to content

Commit

Permalink
Merge pull request #270 from golemfactory/offer_cancelled
Browse files Browse the repository at this point in the history
Add OfferCancelled reason to CannotComputeTask
  • Loading branch information
shadeofblue committed Sep 27, 2018
2 parents ed1dc62 + bdcb89b commit 0adf667
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions golem_messages/message/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ class REASON(datastructures.StringEnum):
InsufficientBalance = enum.auto()
InsufficientDeposit = enum.auto() # GNTB deposit too low
TooShortDeposit = enum.auto() # GNTB deposit has too short lock
OfferCancelled = enum.auto()

@base.verify_slot('task_to_compute', TaskToCompute)
def deserialize_slot(self, key, value):
Expand Down

0 comments on commit 0adf667

Please sign in to comment.