mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-11 17:55:49 +00:00
remove logs
This commit is contained in:
parent
f8a5653ff6
commit
5bd0bbfcc5
@ -63,7 +63,6 @@ document.addEventListener('qortalExtensionRequests', async (event) => {
|
||||
}
|
||||
});
|
||||
} else if (type === 'REQUEST_OAUTH') {
|
||||
console.log('oauth enter')
|
||||
const hostname = window.location.hostname
|
||||
const res = await connection(hostname)
|
||||
if(!res){
|
||||
@ -74,7 +73,6 @@ document.addEventListener('qortalExtensionRequests', async (event) => {
|
||||
}));
|
||||
return
|
||||
}
|
||||
console.log('oauth enter2')
|
||||
|
||||
chrome.runtime.sendMessage({ action: "oauth", payload: {
|
||||
nodeBaseUrl: payload.nodeBaseUrl,
|
||||
@ -183,7 +181,6 @@ document.addEventListener('qortalExtensionRequests', async (event) => {
|
||||
|
||||
|
||||
chrome.runtime.onMessage.addListener(function(message, sender, sendResponse) {
|
||||
console.log({message})
|
||||
if (message.type === "LOGOUT") {
|
||||
// Notify the web page
|
||||
window.postMessage({
|
||||
|
@ -8,10 +8,7 @@ import {Sha256} from 'asmcrypto.js'
|
||||
|
||||
export const decryptChatMessage = (encryptedMessage, privateKey, recipientPublicKey, lastReference) => {
|
||||
const test = encryptedMessage
|
||||
console.log({test})
|
||||
console.log({encryptedMessage, privateKey, recipientPublicKey, lastReference})
|
||||
let _encryptedMessage = Base58.decode(encryptedMessage)
|
||||
console.log({_encryptedMessage})
|
||||
const _base58RecipientPublicKey = recipientPublicKey instanceof Uint8Array ? Base58.encode(recipientPublicKey) : recipientPublicKey
|
||||
const _recipientPublicKey = Base58.decode(_base58RecipientPublicKey)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user