Skip to content

Commit

Permalink
remove getNodeUrl handler
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Nov 21, 2024
1 parent 2702ada commit 204467a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/massalabs/metamask-massa.git"
},
"source": {
"shasum": "Azm6quOZLTA/bmeU/097C7Dg3chTM7auS/haPXdrDVA=",
"shasum": "vv52I6lYwAfHXV/0FJq4G3IEDhbfx97qNKpqHrva6do=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
13 changes: 0 additions & 13 deletions packages/snap/src/handlers/get-node-url.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/snap/src/handlers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export * from './transfer';
export * from './get-balance';
export * from './get-network';
export * from './set-network';
export * from './get-node-url';
export * from './sell-rolls';
export * from './buy-rolls';
export * from './show-account-credentials';
Expand Down
3 changes: 0 additions & 3 deletions packages/snap/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import {
readSmartContract,
getNetwork,
setNetwork,
getNodeUrl,
sellRolls,
buyRolls,
showAccountCredentials,
Expand Down Expand Up @@ -70,8 +69,6 @@ export const onRpcRequest: OnRpcRequestHandler = async ({ request }) => {
return readSmartContract(request.params as unknown as ReadSCParameters);
case 'account.sendTransaction':
return transfer(request.params as unknown as TransferParams);
case 'Provider.getNodeUrl':
return getNodeUrl();
case 'account.sellRolls':
return sellRolls(request.params as unknown as SellRollsParams);
case 'account.buyRolls':
Expand Down

0 comments on commit 204467a

Please sign in to comment.