balance.transfert() does not always return a relevant value
If I send a payment from wallet with balance > 0 && balance < paymentAmount
, extrinsics balance.transfert()
return:
Exception: balances.InsufficientBalance
but if I send a payment from wallet with balance == null
(non existing wallet), extrinsics balance.transfert()
return:
{hash: 0x08918a5442bceac91b9a21b4de270448edac12a149f4a0c5f8afb72c4a9704ee, blockHash: 0x1d6adf1c625b82a9fda0bdd6324fbb1ddff066b931e14066bd5ec76fbf506735}
This is the same answer as validated transaction ! Is it a normal behavior ?
Is it possible to return same Exception as first, or Exception: balances.NullBalance
?
I precise the result is OK when balance == 0
(non null)
Edited by poka