Browse Source

Merge pull request #590 from hermeznetwork/fix/zki-imExitRoot

Set the intermediary signal when exit TX is not inserted
feature/serveapicli
arnau 3 years ago
committed by GitHub
parent
commit
9de3a4ec6a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      txprocessor/txprocessor.go

+ 1
- 0
txprocessor/txprocessor.go

@ -1268,6 +1268,7 @@ func (tp *TxProcessor) applyExit(coordIdxsMap map[common.TokenID]common.Idx,
}
tp.zki.OldKey2[tp.i] = p.OldKey.BigInt()
tp.zki.OldValue2[tp.i] = p.OldValue.BigInt()
tp.zki.ISExitRoot[tp.i] = exitTree.Root().BigInt()
}
return exitAccount, false, nil

Loading…
Cancel
Save