[bug] prevent a false
bool in a process to be mistaken with absence of value
This commit is contained in:
parent
102a36659c
commit
22fc00a670
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user