Apply suggestions from code review

Co-authored-by: Aaron Craelius <aaron@regen.network>
This commit is contained in:
Sunny Aggarwal 2020-10-21 21:42:06 -04:00 committed by GitHub
parent 30c13ea554
commit cb99dbd413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -31,16 +31,6 @@ message MsgChangePubKey {
As an example, account pubkey change message can be defined as follows.
```json
{
"type": "cosmos-sdk/StdTx",
"value": {
"address": "cosmos1wf5h7meplxu3sc6rk2agavkdsmlsen7rgsasxk",
"public_key": "cosmospub1addwnpepqdszcr95mrqqs8lw099aa9h8h906zmet22pmwe9vquzcgvnm93eqygufdlv"
},
"signature": "a9n7pIqCUuYJTCm7ZBv1cqqlM3uYyX/7SnaSXA8zrG0CBWP6p55pTFFHYn39tVvFtRbGE7gXF1qCiaOilJ8NtQ=="
}
```
Here, the signature is signed for the public key thats current in-state for account `cosmos1wf5h7meplxu3sc6rk2agavkdsmlsen7rgsasxk`, as normally done in the ante-handler.