Skip to content

Commit

Permalink
protocol/horizon/operations: fix AllowTrust comment to use SetTrustLi…
Browse files Browse the repository at this point in the history
…neFlags #3998

What
This PR fixes the deprecation comment for AllowTrust so that users can be directed to the right operation.

Why
TrustlineFlagsUpdated is an effect, not an operation.

Known limitations
N/A
  • Loading branch information
howardtw authored Oct 7, 2021
1 parent d73e7d7 commit ea18bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/horizon/operations/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ type ChangeTrust struct {
TrustorMuxedID uint64 `json:"trustor_muxed_id,omitempty,string"`
}

// Deprecated: use TrustlineFlagsUpdated instead.
// Deprecated: use SetTrustLineFlags instead.
// AllowTrust is the json resource representing a single operation whose type is
// AllowTrust.
type AllowTrust struct {
Expand Down

0 comments on commit ea18bba

Please sign in to comment.