diff --git a/types/mempool/mempool.go b/types/mempool/mempool.go index f3a12ed5e88c..4f8f82f16fa7 100644 --- a/types/mempool/mempool.go +++ b/types/mempool/mempool.go @@ -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.