The batchIssue function appears to have a bug where the for loop is bounded incorrectly resulting in an array overflow. https://github.com/energywebfoundation/origin/blob/4048d1b92b0c1dbb60428b419ba5c7e947c8ad1b/packages/traceability/issuer/contracts/Registry.sol#L53 https://github.com/energywebfoundation/origin/blob/4048d1b92b0c1dbb60428b419ba5c7e947c8ad1b/packages/traceability/issuer/contracts/Registry.sol#L57-L58
The batchIssue function appears to have a bug where the for loop is bounded incorrectly resulting in an array overflow.
origin/packages/traceability/issuer/contracts/Registry.sol
Line 53 in 4048d1b
origin/packages/traceability/issuer/contracts/Registry.sol
Lines 57 to 58 in 4048d1b