fix spelling on reentrancyLock

This commit is contained in:
Dan Robinson
2019-10-02 11:28:12 -07:00
parent 8f0507302d
commit 3512a8af16

View File

@ -27,13 +27,13 @@ contract UniswapERC20 is ERC20 {
mapping (address => TokenData) public dataForToken;
bool private rentrancyLock = false;
bool private reentrancyLock = false;
modifier nonReentrant() {
require(!rentrancyLock);
rentrancyLock = true;
require(!reentrancyLock);
reentrancyLock = true;
_;
rentrancyLock = false;
reentrancyLock = false;
}