You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior and expected behavior?
Currently when calling api.tx.balances.transfer and leaving the destination address as undefined, the funds are taken from the sender's account and sent to the address 111111111111111111111111111111111HC1. In these cases the transaction should fail and alert the sender they should input the destination address.
What is the motivation for changing the behavior?
Now the funds sent this way are being lost, since trying to retrieve them using keyring.createFromUri("0x Hex") to recreate the private key of the undefined address and sending the funds back to the original address returns:
"error": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low"
Please tell us about your environment:
Version: api v10.9.1
Environment:
Node.js
Browser
Other (limited support for other environments)
Language:
JavaScript
TypeScript (include tsc --version) v4.9.4
Other
The text was updated successfully, but these errors were encountered:
Currently when calling
api.tx.balances.transfer
and leaving the destination address asundefined
, the funds are taken from the sender's account and sent to the address111111111111111111111111111111111HC1
. In these cases the transaction should fail and alert the sender they should input the destination address.Now the funds sent this way are being lost, since trying to retrieve them using
keyring.createFromUri("0x Hex")
to recreate the private key of theundefined
address and sending the funds back to the original address returns:Version: api v10.9.1
Environment:
Language:
The text was updated successfully, but these errors were encountered: