Skip to content

Commit 8e88fc5

Browse files
committed
fixed handler of EventSupplierUnbondingEnd
1 parent 3e1b46a commit 8e88fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mappings/poktroll/suppliers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ async function _handleSupplierUnbondingEndEvent(
317317
// but alpha has still events without this
318318
logger.error(`[handleSupplierUnbondingEndEvent] unbonding_end_height not found`);
319319
} else {
320-
supplier.unstakingEndBlockId = BigInt((unbondingHeight as unknown as string).replaceAll("\"", ""));
320+
supplier.unstakingEndBlockId = unbondingHeight
321321
}
322322

323323
if (!reason) {

0 commit comments

Comments
 (0)