fixed bug

This commit is contained in:
Thrilok Kumar 2020-08-17 03:54:42 +05:30
parent ed8923bfe7
commit d41275a2eb

View File

@ -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);
}