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 authored and karlb committed Jun 4, 2019
1 parent 40cd6e3 commit 3653354
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Documents changes that result in:

## Unreleased

- When OneToN checks the signature of an IOU, it considers MessageTypeId.IOU

## [0.22.0](https://github.com/raiden-network/raiden-contracts/releases/tag/v0.22.0) - 2019-06-03

- [#1034](https://github.com/raiden-network/raiden-contracts/pull/1034) Add gas.json in the package so `gas_measurements(contracts_version)` works.
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 3653354

Please sign in to comment.