Skip to content

Commit 1017f89

Browse files
committed
Fix hasNextPage bug in snapshot
1 parent 3d29ef6 commit 1017f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/logic/utxo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ export async function getSnapshot(params: {
507507
type: sequelize.QueryTypes.SELECT
508508
}
509509
)).count ===
510-
itemsPerPage + 1;
510+
String(itemsPerPage + 1);
511511

512512
// The SQL query is copied from the query above.
513513
const lastRow = await models.sequelize.query(

0 commit comments

Comments
 (0)