Port 11604
Port from branch hotfix-11604: Added checking and displaying an error message if the user tries to invalidate a stake using a public key rather than a private one.
Port from branch hotfix-11604: Added checking and displaying an error message if the user tries to invalidate a stake using a public key rather than a private one.