hats-finance/HATs-Arbitration-Contracts-0x79a618f675857b45934ca1c413fd5f409cf89735

Missing checks for address(0x0) when updating address state variables

Opened this issue · 1 comments

Github username: @saidqayoumsadat
Submission hash (on-chain): 0xcbcca374d0d278b9d4e66cb41bc59342e77f215944efa72f259615c36d425ee7
Severity: low

Description:
Description

file: /contracts/mocks/HatVaultForConnectorMock.sol

53        arbitrator = _arbitrator;

https://github.com/hats-finance/hats-contracts/blob/0d6ebbde912bc272d9b310140d434ee2aacd36d3/contracts/mocks/HatVaultForConnectorMock.sol#L53

file: /contracts/HATArbitrator.sol

106        court = _court;

https://github.com/hats-finance/hats-contracts/blob/0d6ebbde912bc272d9b310140d434ee2aacd36d3/contracts/HATArbitrator.sol#L106

This is by design