Call the s/c, If it returns 0x00....set it to 0x00 (otherwise you are returning a accInputHash for the wrong batchNum)
if it returns a non-zero hash, just set it
Fix required:
Sync events SequenceBatches and from batch DB data you can compute all batches accInputHash and you store them in the DB.
When you save a batch in the DB during synchronization, also compute the accInputHash and store it.
Initial solution (implemented):
Call the s/c, If it returns 0x00....set it to 0x00 (otherwise you are returning a accInputHash for the wrong batchNum) if it returns a non-zero hash, just set it
Fix required:
Sync events SequenceBatches and from batch DB data you can compute all batches accInputHash and you store them in the DB. When you save a batch in the DB during synchronization, also compute the accInputHash and store it.