Skip to content

Conversation

@Unheilbar
Copy link
Contributor

Requires

Supports

@github-actions
Copy link

github-actions bot commented Nov 10, 2025

✅ API Diff Results - No breaking changes


📄 View full apidiff report

Comment on lines 23 to 26
type SolanaService interface {
// SendTx(ctx context.Context, tx *solanago.Transaction) (solanago.Signature, error)
// SimulateTx(ctx context.Context, tx *solanago.Transaction, opts *rpc.SimulateTransactionOpts) (*rpc.SimulateTransactionResult, error)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove?

for _, um := range reg {
svc.UserMessages = append(svc.UserMessages, *um)
}
sort.Slice(svc.UserMessages, func(i, j int) bool { return svc.UserMessages[i].Name < svc.UserMessages[j].Name })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be able to do something like:

Suggested change
sort.Slice(svc.UserMessages, func(i, j int) bool { return svc.UserMessages[i].Name < svc.UserMessages[j].Name })
slices.Sort(svc.UserMessages, func(i, j UserMessage) bool { return i.Name < j.Name })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants