Skip to content

Commit

Permalink
Allow large page for hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
majecty authored and joojis committed Apr 22, 2020
1 parent b92a796 commit 196ae70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routers/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ const confirmThreshold = Joi.number()
.integer();
const includePending = Joi.boolean();

const max32bit = 2147483647;

export const paginationSchema = {
itemsPerPage: Joi.number()
.positive()
.integer()
.min(1)
.max(100)
.max(max32bit - 1)
};

export const utxoPaginationSchema = {
Expand Down

0 comments on commit 196ae70

Please sign in to comment.