SemkoDev / romeo.html

ISC License
22 stars 5 forks source link

Sending to an already used address is possible #4

Closed ds2216 closed 6 years ago

ds2216 commented 6 years ago

I tested sending 1i to an address that already spent IOTAs and it was possibly. Should be prevented, like it is in the Light Wallet.

https://thetangle.org/address/EUYSCJFJDLIVBO9IEPHBDOKKMYJRUONETHAEPIAMOYY9LFJM9MIHBDMGNDAFCBXAHL9JEABRNMRYDWCWZ

romansemko commented 6 years ago

Yup. It's on the roadmap. The same for using spent addresses with positive balance as outputs.

Thanks!

romansemko commented 6 years ago

Added check for sent addresses. An error message is shown on send to such an address. It is not enforced, however, for certain edge cases.