Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
fix(sdk): set value to 0 for non visible note
Browse files Browse the repository at this point in the history
  • Loading branch information
LeilaWang committed Feb 5, 2020
1 parent bd4e054 commit 25a9a32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
value: async ({ viewingKey }) => {
const decryptedViewingKey = await decryptViewingKey(viewingKey);
if (!decryptedViewingKey) {
return null;
return 0;
}
return valueFromViewingKey(decryptedViewingKey);
},
Expand Down

0 comments on commit 25a9a32

Please sign in to comment.