Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Aug 27, 2024
1 parent 2d1f479 commit 156e548
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions types/mempool/mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ type Mempool interface {
Insert(context.Context, sdk.Tx) error

// Select returns an Iterator over the app-side mempool. If txs are specified,
// then they shall be incorporated into the Iterator. The Iterator must be
// closed by the caller.
// then they shall be incorporated into the Iterator. The Iterator is not thread-safe to use.
Select(context.Context, [][]byte) Iterator

// SelectBy use callback to iterate over the mempool, it's thread-safe to use.
Expand Down

0 comments on commit 156e548

Please sign in to comment.