logs removed

This commit is contained in:
feruz 2020-03-23 06:26:43 +02:00
parent b9c67dac34
commit 98807d9436
3 changed files with 0 additions and 5 deletions

View File

@ -1341,13 +1341,11 @@ export const profileUpdate = async (params, pin, currentAccount) => {
export const getBtcAddress = (pin, currentAccount) => { export const getBtcAddress = (pin, currentAccount) => {
const digitPinCode = getDigitPinCode(pin); const digitPinCode = getDigitPinCode(pin);
const key = getActiveKey(get(currentAccount, 'local'), digitPinCode); const key = getActiveKey(get(currentAccount, 'local'), digitPinCode);
console.log(pin, currentAccount, digitPinCode, key);
/*if (get(currentAccount, 'local.authType') === AUTH_TYPE.STEEM_CONNECT) { /*if (get(currentAccount, 'local.authType') === AUTH_TYPE.STEEM_CONNECT) {
return { address: '' }; return { address: '' };
}*/ }*/
if (key) { if (key) {
console.log(key);
const keyPair = bitcoin.ECPair.fromWIF(key); const keyPair = bitcoin.ECPair.fromWIF(key);
const { address } = bitcoin.payments.p2pkh({ pubkey: keyPair.publicKey }); const { address } = bitcoin.payments.p2pkh({ pubkey: keyPair.publicKey });

View File

@ -3,7 +3,5 @@ import CryptoJS from 'crypto-js';
export const encryptKey = (key, data) => CryptoJS.AES.encrypt(key, data).toString(); export const encryptKey = (key, data) => CryptoJS.AES.encrypt(key, data).toString();
export const decryptKey = (key, data) => { export const decryptKey = (key, data) => {
console.log('key', key, 'data', data);
return CryptoJS.AES.decrypt(key, data).toString(CryptoJS.enc.Utf8); return CryptoJS.AES.decrypt(key, data).toString(CryptoJS.enc.Utf8);
}; };

View File

@ -165,7 +165,6 @@ export const groomingWalletData = async (user, globalProps, userCurrency) => {
if (!user) { if (!user) {
return walletData; return walletData;
} }
console.log('groomingWalletData', user);
const state = await getState(`/@${get(user, 'name')}/transfers`); const state = await getState(`/@${get(user, 'name')}/transfers`);
const { accounts } = state; const { accounts } = state;
if (!accounts) { if (!accounts) {