mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
MInor change in mapping contract
This commit is contained in:
parent
5eff1d37dc
commit
faaf8fd3a7
|
@ -17,7 +17,7 @@ contract Helpers {
|
||||||
address public constant instaIndex = 0x2971AdFa57b20E5a416aE5a708A8655A9c74f723;
|
address public constant instaIndex = 0x2971AdFa57b20E5a416aE5a708A8655A9c74f723;
|
||||||
address public oneProtoAddress;
|
address public oneProtoAddress;
|
||||||
|
|
||||||
modifier isChief virtual {
|
modifier isChief {
|
||||||
require(
|
require(
|
||||||
ConnectorsInterface(connectors).chief(msg.sender) ||
|
ConnectorsInterface(connectors).chief(msg.sender) ||
|
||||||
IndexInterface(instaIndex).master() == msg.sender, "not-Chief");
|
IndexInterface(instaIndex).master() == msg.sender, "not-Chief");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user