We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1425627 + 0e98e4a commit 7ca4bd1Copy full SHA for 7ca4bd1
src/Escrow.sol
@@ -225,7 +225,8 @@ contract Escrow is Owned, IEscrow {
225
require(_distributions.length > 0, Errors.EMPTY_ARRAY);
226
require(_distributions.length <= batchLimit, Errors.BATCH_LIMIT_EXCEEDED);
227
228
- Account storage account = accounts[repoId][instanceId];
+ Account storage account = accounts[repoId][instanceId];
229
+ account.hasDistributions = true;
230
231
distributionIds = new uint[](_distributions.length);
232
uint batchId = batchCount++;
@@ -244,7 +245,6 @@ contract Escrow is Owned, IEscrow {
244
245
repoId: repoId,
246
instanceId: instanceId
247
});
- account.hasDistributions = true;
248
249
emit DistributedFromRepo(
250
batchId,
0 commit comments