Skip to content

Commit

Permalink
Fixes Issue brave#13325, a reconcile is no longer triggered during ru…
Browse files Browse the repository at this point in the history
…n if there are no publishers in the ledger table.
  • Loading branch information
ryanml committed Mar 5, 2018
1 parent ab32f5e commit f4685c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/browser/api/ledger.js
Original file line number Diff line number Diff line change
Expand Up @@ -2306,7 +2306,8 @@ const run = (state, delayTime) => {
return
}

if (client.isReadyToReconcile(synopsis)) {
const publishers = ledgerState.getPublishers(state)
if (client.isReadyToReconcile(synopsis) && !publishers.isEmpty()) {
client.reconcile(uuid.v4().toLowerCase(), callback)
}
}
Expand Down

0 comments on commit f4685c1

Please sign in to comment.