docs: fix the outdated description of transaction.Msg (backport #23409) (#23425)

Co-authored-by: SuiYuan <suiyuan.wood@gmail.com>
This commit is contained in:
mergify[bot] 2025-01-17 01:30:41 +01:00 committed by GitHub
parent 62609981d0
commit 536fe3f706
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,10 +38,10 @@ https://github.com/cosmos/cosmos-sdk/blob/28fa3b8/x/bank/proto/cosmos/bank/v1bet
### `transaction.Msg` Interface
`transaction.Msg` is an alias of `proto.Message`.
`transaction.Msg` uses structural types to define the interface for a message.
```go reference
https://github.com/cosmos/cosmos-sdk/blob/main/core/transaction/transaction.go#L8
https://github.com/cosmos/cosmos-sdk/blob/main/core/transaction/transaction.go#L4-L9
```
Signers from the `GetSigners()` call is automated via a protobuf annotation.