Skip to content

Commit

Permalink
fix: show new expiry date for swarm batches
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Oct 30, 2024
1 parent 0d98005 commit 57a9e1a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/syncers/src/syncers/SwarmStampSyncer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { AxiosResponse } from "axios";
import { AxiosError } from "axios";
import axios from "axios";

import { formatTtl } from "@blobscan/dates";
import { prisma } from "@blobscan/db";

import { BaseSyncer } from "../BaseSyncer";
Expand Down Expand Up @@ -66,7 +67,11 @@ export class SwarmStampSyncer extends BaseSyncer {
},
});

this.logger.info(`Swarm stamp data with batch ID "${batchId}" updated`);
this.logger.info(
`Swarm batch ID "${batchId}" updated. New expiry date: ${formatTtl(
batchTTL
)}.`
);
},
});
}
Expand Down

0 comments on commit 57a9e1a

Please sign in to comment.