Skip to content

Commit

Permalink
Update bundle helloWorld_snap
Browse files Browse the repository at this point in the history
  • Loading branch information
gantunesr committed Nov 17, 2022
1 parent 85569ec commit 9506d07
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions snap_bundles/helloWorld_snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,8 @@
}) => {
switch (request.method) {
case 'hello':
return wallet.request({
method: 'snap_confirm',
params: [{
prompt: getMessage(origin),
description: 'This custom confirmation is just for display purposes.',
textAreaContent: 'You sure I can'
}]
});
console.log('hello from snap 2');
return 'hello from snap 2'

default:
throw new Error('Method not found.');
Expand Down

0 comments on commit 9506d07

Please sign in to comment.