Skip to content

Commit

Permalink
[rpc] change default transaction limit to 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
gupadhyaya authored and Leo Chen committed Jun 29, 2020
1 parent 9395d5a commit 1be1ddf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/hmyapi/apiv1/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// defaultPageSize is to have default pagination.
const (
defaultPageSize = uint32(100)
defaultPageSize = uint32(1000)
)

// ReturnWithPagination returns result with pagination (offset, page in TxHistoryArgs).
Expand Down
2 changes: 1 addition & 1 deletion internal/hmyapi/apiv2/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// defaultPageSize is to have default pagination.
const (
defaultPageSize = uint32(100)
defaultPageSize = uint32(1000)
)

// ReturnWithPagination returns result with pagination (offset, page in TxHistoryArgs).
Expand Down

0 comments on commit 1be1ddf

Please sign in to comment.