Merge pull request #752 from loloicci/missing-colon
Add missing colons in String of some proposals
This commit is contained in:
@@ -258,7 +258,7 @@ func (p MigrateContractProposal) String() string {
|
|||||||
Description: %s
|
Description: %s
|
||||||
Contract: %s
|
Contract: %s
|
||||||
Code id: %d
|
Code id: %d
|
||||||
Msg %q
|
Msg: %q
|
||||||
`, p.Title, p.Description, p.Contract, p.CodeID, p.Msg)
|
`, p.Title, p.Description, p.Contract, p.CodeID, p.Msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -311,7 +311,7 @@ func (p SudoContractProposal) String() string {
|
|||||||
Title: %s
|
Title: %s
|
||||||
Description: %s
|
Description: %s
|
||||||
Contract: %s
|
Contract: %s
|
||||||
Msg %q
|
Msg: %q
|
||||||
`, p.Title, p.Description, p.Contract, p.Msg)
|
`, p.Title, p.Description, p.Contract, p.Msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -479,7 +479,7 @@ func TestProposalStrings(t *testing.T) {
|
|||||||
Description: Bar
|
Description: Bar
|
||||||
Contract: cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr
|
Contract: cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr
|
||||||
Code id: 1
|
Code id: 1
|
||||||
Msg "{\"verifier\":\"cosmos1qyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqs2m6sx4\"}"
|
Msg: "{\"verifier\":\"cosmos1qyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqs2m6sx4\"}"
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
"update admin": {
|
"update admin": {
|
||||||
|
|||||||
Reference in New Issue
Block a user