mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10169 from ebouchut/patch-1
Fix typo modifier onlyowner using all lowercase instead of mixed case
This commit is contained in:
commit
5b4125447b
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user