Does the Wallet Griefing Attack still Exists?

by zak100   Last Updated June 13, 2019 01:28 AM

I read about Wallet Griefing attack at the following link:

[Ethereum Griefing Wallets][1]

'send' is checked but contract uses throw. The code is given below:

for (uint i=0; i<investors.length; i++) {
  if (investors[i].invested == min_investment) {
    // Refund, and check for failure. 
    // This code looks benign but will lock the entire contract
    // if attacked by a griefing wallet.

    if (!(investors[i].address.send(investors[i].dividendAmount))) 
      { 
        throw;
      }
    investors[i] = newInvestor;
  }
}

Can this attack still occur by replacing throw with revert?

Somebody please guide me? Zulfi.

Tags : vulnerability


Related Questions


Updated June 12, 2019 01:28 AM

Updated June 12, 2019 19:28 PM

Updated June 15, 2019 02:28 AM

Updated June 22, 2019 01:28 AM

Updated September 27, 2017 23:28 PM