Before the change, TransferAsset to non-existing account might lead to misleading error message "account does not have a permission". (Formally that was correct - "non-existing account does not have permissions at all")
Benefits
A correct error message will be produced: account does not exist or account does not have permission for each case correspondingly.
Signed-off-by: Igor Egorov igor@soramitsu.co.jp
Description of the Change
Before the change, TransferAsset to non-existing account might lead to misleading error message "account does not have a permission". (Formally that was correct - "non-existing account does not have permissions at all")
Benefits
A correct error message will be produced: account does not exist or account does not have permission for each case correspondingly.
Usage Examples or Tests
all the tests