Skip to content

Commit 9af05cf

Browse files
committed
Clean up unused imports and code in orders.js
1 parent 2f1917d commit 9af05cf

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

backend/routes/orders.js

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const axios = require("axios");
55
const {
66
createWalletClient,
77
http,
8-
parseEther,
98
parseGwei,
109
createPublicClient,
1110
} = require("viem");
@@ -90,30 +89,6 @@ async function signalResolverOrderAccepted(orderId, resolverAddress, details) {
9089
}
9190
}
9291

93-
// Define Worldchain Sepolia chain
94-
const worldchainSepolia = {
95-
id: 4801,
96-
name: "Worldchain Sepolia",
97-
network: "worldchain-sepolia",
98-
nativeCurrency: {
99-
decimals: 18,
100-
name: "Ether",
101-
symbol: "ETH",
102-
},
103-
rpcUrls: {
104-
default: {
105-
http: [
106-
"https://worldchain-sepolia.g.alchemy.com/v2/ydzpyjQ8ltFGNlU9MwB0q",
107-
],
108-
},
109-
public: {
110-
http: [
111-
"https://worldchain-sepolia.g.alchemy.com/v2/ydzpyjQ8ltFGNlU9MwB0q",
112-
],
113-
},
114-
},
115-
};
116-
11792
// Validation middleware
11893
const validateWalletAddress = (req, res, next) => {
11994
const walletAddress =

0 commit comments

Comments
 (0)