Skip to content

Commit

Permalink
fix: remove debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimcase committed Aug 19, 2024
1 parent ed42402 commit 14ba0ae
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ui/summit-2024/src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,34 +50,19 @@ export const signMessageWithWallet = async (
signMessagePromisified,
) => {
try {
console.log("signMessageWithWallet");
console.log(connectedWallet);
console.log(canonicalLoginInput);
if (
resolveWalletType(connectedWallet.address) ===
WalletIdentifierType.KERI &&
window.cardano &&
window.cardano["idw_p2p"]
) {
console.log("idw");
const api = window.cardano["idw_p2p"];
const enabledApi = await api.enable();
console.log("hey0");
console.log("enabledApi");
console.log(enabledApi);
const keriIdentifier = await enabledApi.experimental.getKeriIdentifier();
console.log("keriIdentifier");
console.log(keriIdentifier);

console.log("hey1");
const signedMessage = await enabledApi.experimental.signKeri(
connectedWallet.address,
canonicalLoginInput,
);
console.log("signedMessage");
console.log(signedMessage);

console.log("hey3");
if (signedMessage.error) {
return {
success: false,
Expand All @@ -88,7 +73,6 @@ export const signMessageWithWallet = async (
};
}

console.log("hey4");
return {
success: true,
result: {
Expand Down

0 comments on commit 14ba0ae

Please sign in to comment.