Update memo usage docs (#9265)

* Update `memo` usage docs

* update doc

Co-authored-by: Aaron Craelius <aaron@regen.network>

* update doc

Co-authored-by: Aaron Craelius <aaron@regen.network>

Co-authored-by: Aaron Craelius <aaron@regen.network>
This commit is contained in:
Anil Kumar Kammari
2021-05-06 08:47:02 +00:00
committed by GitHub
co-authored by Aaron Craelius
parent d9b20122d5
commit 2eeb464939
4 changed files with 8 additions and 4 deletions
+3 -1
View File
@@ -254,7 +254,9 @@ type TxBody struct {
// is referred to as the primary signer and pays the fee for the whole
// transaction.
Messages []*types.Any `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
// memo is any arbitrary memo to be added to the transaction
// memo is any arbitrary note/comment to be added to the transaction.
// In clients, any public exposing text should not be called as memo,
// should use `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
// timeout is the block height after which this transaction will not
// be processed by the chain