transfer_allow_death - emitting an empty Deposit event #6469
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
In case
transfer_allow_death
does not kill the account, and emptyDeposit
event is emitted.E.g.: https://polkadot.subscan.io/extrinsic/23395862-2
I believe it's because of the lack of is-zero check here:
https://github.com/paritytech/polkadot-sdk/blob/master/substrate/frame/transaction-payment/src/payment.rs#L160
Can someone please confirm this is not intentional?
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: