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

Co-authored-by: Alex | Interchain Labs <alex@skip.money>
This commit is contained in:
SuiYuan 2025-01-17 08:15:59 +08:00 committed by GitHub
parent 77d43598a3
commit adc1d3175b
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.