Skip to content

Commit

Permalink
revert change in devp2p
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed Aug 14, 2024
1 parent 699f3e2 commit dcedcbe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/devp2p/examples/simple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,5 @@ for (const bootnode of BOOTNODES) {
}

setTimeout(() => {
// After the timeout, destroy dpt
dpt.destroy() // NOTE: this does not seem to stop listening to peers, how to quit/exit?
// (client also calls `dpt.destroy()` in `rlpxserver` on `stop()`)
process.exit()
}, TIMEOUT)

0 comments on commit dcedcbe

Please sign in to comment.