substrate-erc20-multi icon indicating copy to clipboard operation
substrate-erc20-multi copied to clipboard

`transfer_from` fires up the `Approval` event with the wrong amount

Open drozdziak1 opened this issue 6 years ago • 0 comments
trafficstars

IIUC transfer_from needs to notify everyone about the changed allowance after some of it is spent.

Presently, the amount used in the Approval event is the transaction amount instead of the remaining allowance (value instead of updated_allowance)

drozdziak1 avatar Apr 30 '19 09:04 drozdziak1