Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Reorder validation rules in Postgres executor #2228

Merged
merged 2 commits into from
Apr 16, 2019

Conversation

igor-egorov
Copy link
Contributor

Signed-off-by: Igor Egorov [email protected]

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

@igor-egorov igor-egorov requested review from MBoldyrev, lebdron and luckychess and removed request for lebdron April 15, 2019 12:24
Signed-off-by: Igor Egorov <[email protected]>
@igor-egorov igor-egorov force-pushed the fix/transfer-response-codes branch from b41ec1d to 525dae1 Compare April 15, 2019 12:54
@igor-egorov igor-egorov merged commit 05030be into develop Apr 16, 2019
@igor-egorov igor-egorov deleted the fix/transfer-response-codes branch April 16, 2019 09:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants