Updating contract code
This commit is contained in:
parent
02b3884d02
commit
8e830d8308
|
@ -65,7 +65,7 @@ contract SNTGiveaway is Controlled {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function manualSend(address _destAddress, bytes5 code) public onlyController {
|
function manualSend(address _dest, bytes5 _code) public onlyController {
|
||||||
require(!sentToAddress[_dest] && !codeUsed[_code], "Funds already sent / Code already used");
|
require(!sentToAddress[_dest] && !codeUsed[_code], "Funds already sent / Code already used");
|
||||||
|
|
||||||
sentToAddress[_dest] = true;
|
sentToAddress[_dest] = true;
|
||||||
|
|
Loading…
Reference in New Issue