Skip to content

Commit

Permalink
fix: idiot
Browse files Browse the repository at this point in the history
  • Loading branch information
phamphong9981 committed Aug 1, 2023
1 parent b679b0a commit be61a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/cw20/cw20_update_by_contract.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default class Cw20UpdateByContractService extends BullableService {
const { startBlock, endBlock } = ctx.params;
// eslint-disable-next-line no-restricted-syntax
for (const cw20Contract of ctx.params.cw20Contracts) {
const startUpdateBlock = Math.min(
const startUpdateBlock = Math.max(
startBlock,
cw20Contract.last_updated_height
);
Expand Down

0 comments on commit be61a43

Please sign in to comment.