Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine INVALID_SIGNATURE to RECEIVER_SIG_REQUIRED when appropriate #1556

Open
tinker-michaelj opened this issue Jun 7, 2021 · 1 comment

Comments

@tinker-michaelj
Copy link
Collaborator

Summary
It would be nice to refine the INVALID_SIGNATURE response code, as it can mean multiple things.

In particular, when the key on an account X with receiverSigRequired=true did not supply a valid signature, we could return RECEIVER_SIG_REQUIRED rather than INVALID_SIGNATURE.

@gregscullard
Copy link

Agreed, was thinking the same myself only a few days ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants