Skip to content

Commit

Permalink
fix proofs
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Jan 16, 2025
1 parent 8bc96a0 commit dbd9989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const useStorageStore = defineStore("storage", {
jsonToSave[k] = v;
}
// proofs table *magic*
const proofs = useMintsStore().proofs;
const proofs = await useProofsStore().getProofs()
jsonToSave["cashu.dexie.db.proofs"] = JSON.stringify(proofs);

var textToSave = JSON.stringify(jsonToSave);
Expand Down

0 comments on commit dbd9989

Please sign in to comment.