Skip to content

Commit

Permalink
fix:remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
robhyrk committed Feb 22, 2024
1 parent 93dd3ba commit e7a2b92
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/hooks/useWeb3Wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,12 @@ const useWeb3Wallet = () => {
if (!provider) {
return;
}
const resp = await cryptoWaitReady();
console.log(resp);
await cryptoWaitReady();
const privateKey = await provider.request({
method: "private_key",
});
console.log(privateKey);
console.log(Keyring);
const keyring = new Keyring({ ss58Format: 73, type: "sr25519" });
console.log(keyring);
const keyPair = keyring.addFromUri("0x" + privateKey);
console.log(keyring, keyPair);
if (keyPair) {
selectWallet("web3auth", keyPair);
}
Expand Down

0 comments on commit e7a2b92

Please sign in to comment.