Skip to content

Commit

Permalink
fix bugs in hosterReplacement
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabreznik committed May 22, 2024
1 parent d5ea549 commit dcb3f9c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
13 changes: 11 additions & 2 deletions src/node_modules/datdot-node-javascript-internal/chain.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/roles/attester.js
Original file line number Diff line number Diff line change
Expand Up @@ -1201,8 +1201,9 @@ async function hosterReplacement_handler (args) {

async function finishAndSendReport () {
// called for each replacement hoster
log({ type: 'attester', data: { text: 'all sent to hoster in hoster replacement', finished, pos_len: positions.length }})
finished++
log({ type: 'attester', data: { text: 'all sent to hoster in hoster replacement', finished, pos_len: positions.length }})
if (finished !== positions.length) return
clearTimeout(tid)
for (const [topic, remotestringkey] of replacement_encoders) {
await done_task_cleanup({
Expand Down

0 comments on commit dcb3f9c

Please sign in to comment.