SemkoDev / romeo.html

ISC License
22 stars 5 forks source link

SPA Warning #11

Open yippykaiyay012 opened 6 years ago

yippykaiyay012 commented 6 years ago

The SPA warning shows in the following scenario. Not really an issue. But I guess this should not happen.

  1. starting address with positive balance (address 1)
  2. generate new address (address 2)
  3. make transaction (remaining balance transfers to new address 3)
  4. send funds to unused address (address 2)
  5. Make transaction
  6. SPA Detected shows for address 2 (this goes away once confirmed.)
alexsporn commented 6 years ago

I just had this too by just doing a transaction with change. The change was going to a new address and the old address showed the SPA warning until the transaction was confirmed. I think you should check if there are pending transactions before showing the warning.