Skip to content

Commit

Permalink
rm snap log
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-1979 committed Jan 28, 2024
1 parent 54e261c commit f23913a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/dapp/src/util/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const NPM_SNAP_ID = 'npm:@polkagate/snap';

export const DEFAULT_SNAP_ORIGIN = process.env.NODE_ENV === 'development' ? LOCAL_SNAP_ID : NPM_SNAP_ID;

console.log('NODE_ENV:',process.env.NODE_ENV)
export const SUPPORTED_SNAPS = {
[DEFAULT_SNAP_ORIGIN]: { version: SNAP_VERSION },
};
Expand Down
1 change: 0 additions & 1 deletion packages/snap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const onRpcRequest: OnRpcRequestHandler = async ({
origin,
request,
}) => {
console.log('Received request in snap:', request);
const _params = request.params;

switch (request.method) {
Expand Down
1 change: 0 additions & 1 deletion packages/snap/src/util/getBalance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export async function getBalances(
const balances = (await api.query.system.account(formatted)) as unknown as {
data: AccountData;
};
console.log('balances:', balances.data);

const transferable = api.createType(
'Balance',
Expand Down

0 comments on commit f23913a

Please sign in to comment.