Last month while preparing a presentation about parity wasm contract design (I really like the idea of using wasm instead of evm bytecode and I also rust a lot), I spotted this issue : sending token to yourself leads to token creation which is bad. So this small but necessary PR fixes that by simply forbidding to transmit a token to yourself.
Please note that I did not check for other issues (I was mainly looking at the overall design, not contract specific implementation).
Last month while preparing a presentation about parity wasm contract design (I really like the idea of using wasm instead of evm bytecode and I also rust a lot), I spotted this issue : sending token to yourself leads to token creation which is bad. So this small but necessary PR fixes that by simply forbidding to transmit a token to yourself.
Please note that I did not check for other issues (I was mainly looking at the overall design, not contract specific implementation).