Skip to content

Commit c3d0e1a

Browse files
[SDK] Fix stray keccak256 reference (#7089)
## Summary - remove unused `keccak256` import - clean up unused statement in `resolve-l2-name` ## Testing - `pnpm test` *(fails: EHOSTUNREACH)* <!-- start pr-codex --> --- ## PR-Codex overview This PR removes an unused import of `keccak256` from the `resolve-l2-name.ts` file, streamlining the code by eliminating unnecessary references. ### Detailed summary - Removed the unused import of `keccak256` from the file `packages/thirdweb/src/extensions/ens/resolve-l2-name.ts`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent a3072c4 commit c3d0e1a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/thirdweb/src/extensions/ens/resolve-l2-name.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import * as ox__Bytes from "ox/Bytes";
44
import * as ox__Ens from "ox/Ens";
55
import * as ox__Hash from "ox/Hash";
66
import * as ox__Hex from "ox/Hex";
7-
import { keccak256 } from "viem";
87
import type { Chain } from "../../chains/types.js";
98
import type { ThirdwebClient } from "../../client/client.js";
109
import { getContract } from "../../contract/contract.js";
@@ -47,7 +46,6 @@ const convertReverseNodeToBytes = (address: Address, chainId: number) => {
4746
[reverseNode, addressNode],
4847
),
4948
);
50-
keccak256;
5149
return addressReverseNode;
5250
};
5351

0 commit comments

Comments
 (0)