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 00:15:59 +00:00
committed by GitHub
co-authored by Alex | Interchain Labs
parent 77d43598a3
commit adc1d3175b
+2 -2
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.