Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions raiden/network/proxies/token_network_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,6 @@ def add_token(
"The chain ID property for the TokenNetworkRegistry is invalid."
)

if chain_id != self.blockchain_service.network_id:
raise BrokenPreconditionError(
"The provided chain ID {chain_id} does not match the "
"network Raiden is running on: {self.blockchain_service.network_id}."
)

if secret_registry_address == NULL_ADDRESS:
raise BrokenPreconditionError(
"The secret registry address for the token network is invalid."
Expand Down Expand Up @@ -303,12 +297,6 @@ def _add_token(
"The chain ID property for the TokenNetworkRegistry is invalid."
)

if chain_id != self.blockchain_service.network_id:
raise RaidenUnrecoverableError(
"The provided chain ID {chain_id} does not match the "
"network Raiden is running on: {self.blockchain_service.network_id}."
)

if secret_registry_address == NULL_ADDRESS:
raise RaidenUnrecoverableError(
"The secret registry address for the token network is invalid."
Expand Down