[bug] prevent a false bool in a process to be mistaken with absence of value

This commit is contained in:
NicolasCantu 2024-12-18 23:36:11 +01:00
parent 102a36659c
commit 22fc00a670

View File

@ -369,7 +369,7 @@ export default class Services {
let retrievedValues: Record<string, string> = {};
for (const diff of diffs) {
// Check if `new_value` is missing
if (!diff.new_value) {
if (diff.new_value === null) {
const hash = diff.value_commitment;
if (!hash) {
console.error('No commitment for diff');