Skip to content

Commit

Permalink
Removed unnecessary console logs (#71)
Browse files Browse the repository at this point in the history
Signed-off-by: Kipkap <kipkap1001@gmail.com>
  • Loading branch information
himalayan-dev authored Feb 2, 2024
1 parent ce4c4ad commit 7787f48
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "git+https://github.com/hashgraph/hedera-metamask-snaps.git"
},
"source": {
"shasum": "Q0oOFiHXRp80dHDH48BfxVeWbaF916zB/FZFPsrus2M=",
"shasum": "g6gofXCeKQf0dIKntm0UGIntbbn4MqFAPyhDWeKJK8M=",
"location": {
"npm": {
"filePath": "dist/snap.js",
Expand Down
1 change: 0 additions & 1 deletion packages/hedera-wallet-snap/packages/snap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export const onRpcRequest: OnRpcRequestHandler = async ({
if (state === null || _.isEmpty(state)) {
state = await initSnapState();
}
console.log('State:', JSON.stringify(state, null, 4));

let isExternalAccount = false;
if (isExternalAccountFlagSet(request.params)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ export async function stakeHbar(

let newExchangeRate;
if (receipt.exchangeRate) {
console.log(
'receipt.exchangeRate',
JSON.stringify(receipt.exchangeRate, null, 4),
);
newExchangeRate = {
...receipt.exchangeRate,
expirationTime: timestampToString(receipt.exchangeRate.expirationTime),
Expand Down

0 comments on commit 7787f48

Please sign in to comment.