Fix typos: onlyOwner not mixed case

Fix the modifier name `onlyowner` using lowercase where mixedCase is expected.
This commit is contained in:
Eric Bouchut 2020-11-01 19:15:09 +01:00 committed by chriseth
parent d1e1e961f2
commit 950245e384

View File

@ -560,7 +560,7 @@ Yes::
return x + 1; return x + 1;
} }
function increment(uint x) public pure onlyowner returns (uint) { function increment(uint x) public pure onlyOwner returns (uint) {
return x + 1; return x + 1;
} }
@ -596,7 +596,7 @@ Yes::
return balanceOf[from]; return balanceOf[from];
} }
function shutdown() public onlyowner { function shutdown() public onlyOwner {
selfdestruct(owner); selfdestruct(owner);
} }
@ -606,7 +606,7 @@ No::
return balanceOf[from]; return balanceOf[from];
} }
function shutdown() onlyowner public { function shutdown() onlyOwner public {
selfdestruct(owner); selfdestruct(owner);
} }
@ -663,7 +663,7 @@ Yes::
function thisFunctionNameIsReallyLong(address x, address y, address z) function thisFunctionNameIsReallyLong(address x, address y, address z)
public public
onlyowner onlyOwner
priced priced
returns (address) returns (address)
{ {
@ -676,7 +676,7 @@ Yes::
address z, address z,
) )
public public
onlyowner onlyOwner
priced priced
returns (address) returns (address)
{ {
@ -687,21 +687,21 @@ No::
function thisFunctionNameIsReallyLong(address x, address y, address z) function thisFunctionNameIsReallyLong(address x, address y, address z)
public public
onlyowner onlyOwner
priced priced
returns (address) { returns (address) {
doSomething(); doSomething();
} }
function thisFunctionNameIsReallyLong(address x, address y, address z) function thisFunctionNameIsReallyLong(address x, address y, address z)
public onlyowner priced returns (address) public onlyOwner priced returns (address)
{ {
doSomething(); doSomething();
} }
function thisFunctionNameIsReallyLong(address x, address y, address z) function thisFunctionNameIsReallyLong(address x, address y, address z)
public public
onlyowner onlyOwner
priced priced
returns (address) { returns (address) {
doSomething(); doSomething();