Skip to content

Commit

Permalink
cleanup: removed log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
dafuga committed Dec 4, 2024
1 parent 45942b3 commit 6c5d73a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 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/@greymass/antelope-snap.git"
},
"source": {
"shasum": "zRSYG1h1aDZFQbV+6zqfWHKquCyFX42kHLA7c8Noz3g=",
"shasum": "gKttLpFlKYDlf3Ku/yslLX7Rwbx1ZmaIC/rpTSwUN6Y=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 0 additions & 2 deletions packages/snap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,11 @@ export const onInstall: OnInstallHandler = async () => {
export const onRpcRequest: OnRpcRequestHandler = async ({ request }) => {
switch (request.method) {
case 'antelope_getOwnerPublicKey':
console.log('getOwnerPublicKey', request);
return await getOwnerPublicKey(
request as AntelopeGetOwnerPublicKeyRequest,
);

case 'antelope_getActivePublicKey':
console.log('getActivePublicKey', request);
return await getActivePublicKey(
request as AntelopeGetActivePublicKeyRequest,
);
Expand Down
1 change: 0 additions & 1 deletion packages/snap/src/lib/keyDeriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,5 @@ export async function deriveActivePrivateKey(
if (keyIndex === 0) {
throw new Error('Index 0 is reserved for the owner key');
}
console.log('deriving active private key', keyIndex);
return derivePrivateKey(chain, keyIndex);
}

0 comments on commit 6c5d73a

Please sign in to comment.