Skip to content

Commit

Permalink
OneToN.claim() considers MessageTypeId.IOU
Browse files Browse the repository at this point in the history
This prevents confusion between different types of messages.
  • Loading branch information
pirapira committed May 28, 2019
1 parent 6a61dcc commit e792112
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Documents changes that result in:
## Unreleased

- MonitoringService.monitor() takes a signature that takes in the message ID.
- When OneToN checks the signature of an IOU, it considers MessageTypeId.IOU

## [0.21.0](https://github.com/raiden-network/raiden-contracts/releases/tag/v0.21.0) - 2019-05-28

Expand Down
1 change: 1 addition & 0 deletions raiden_contracts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class MessageTypeId(IntEnum):
BALANCE_PROOF_UPDATE = 2
WITHDRAW = 3
COOPERATIVE_SETTLE = 4
IOU = 5
MSReward = 6


Expand Down
Loading

0 comments on commit e792112

Please sign in to comment.