Skip to content

Commit

Permalink
Less aliasing
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoch committed Dec 17, 2024
1 parent 4b357b1 commit 3fd2949
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/idos-sdk-js/src/lib/grants/evm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,10 @@ export class EvmGrants implements GrantChild {
const grants = await this.#contract.findGrants(owner, grantee, dataId);

return grants.map(
([owner, grantee, dataId, lockedUntil]: [string, string, string, bigint]) =>
([ownerAddress, granteeAddress, dataId, lockedUntil]: [string, string, string, bigint]) =>
new Grant({
ownerAddress: owner,
granteeAddress: grantee,
ownerAddress,
granteeAddress,
dataId,
lockedUntil: Number(lockedUntil),
}),
Expand Down

0 comments on commit 3fd2949

Please sign in to comment.