3 ms·
The code has now been changed (by switching to a new contract): function withdrawTips() public { // The owner can only withdraw the tips ui
by Tepix 9y ago
The code has now been changed (by switching to a new contract):
function withdrawTips() public {
// The owner can only withdraw the tips
uint pendingTips = tips;
tips = 0;
owner.transfer(pendingTips);
}