Fix saving bloom to IDB for sidechains & clarify logs for encrypted notes account loading

This commit is contained in:
Theo 2023-08-28 02:54:44 -07:00
parent 9210330208
commit d10ea812db
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ export async function checkExistAccount({ getters, dispatch, rootState, rootGett
const isExist = Boolean(Array.isArray(events) && Boolean(events.length))
console.log('isExist', isExist)
console.log('Is encrypted note events exist: ', isExist)
dispatch('createMutation', {
type: 'CHECK_ACCOUNT',

View File

@ -262,7 +262,7 @@ export default async (ctx, inject) => {
Object.keys(tokens).forEach((token) => {
Object.keys(tokens[token].instanceAddress).forEach((amount) => {
if (nativeCurrency === token && netId === 1) {
if (nativeCurrency === token) {
stores.push({
name: `stringify_bloom_${netId}_${token}_${amount}`,
keyPath: 'hashBloom'