mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
fixed bug
This commit is contained in:
parent
ed8923bfe7
commit
d41275a2eb
|
@ -51,7 +51,7 @@ contract Basic {
|
|||
require(chainlinkFeed != address(0), "chainlinkFeed-not-vaild");
|
||||
require(chainLinkMapping[tokenAddr] == address(0), "chainlinkFeed-already-added");
|
||||
|
||||
chainLinkMapping[tokenAddr] == chainlinkFeed;
|
||||
chainLinkMapping[tokenAddr] = chainlinkFeed;
|
||||
emit LogAddChainLinkMapping(tokenAddr, chainlinkFeed);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user