Skip to content

Commit

Permalink
fix(casper): format data in decode lock event
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadusmanuet committed Nov 30, 2024
1 parent 1ba75bd commit 83bc977
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/handlers/casper/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ export function casperHandler({
.filter((ev) => ev.error === null)
.filter((e) => e.event.name === "Locked")
.at(0);
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
const data = event?.event?.data;
return {
tokenAmount: data?.token_amount?.data?.toString(),
Expand Down

0 comments on commit 83bc977

Please sign in to comment.