Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
oXtxNt9U committed Nov 26, 2024
1 parent bd1d9e3 commit 995f82f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/p2p/source/peer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ export class Peer implements Contracts.P2P.Peer {
return;
}

Utils.assert.defined<Contracts.P2P.HeaderData>(this.#header);

const changed = header.height !== this.#header.height || header.version !== this.#header.version;
if (changed) {
void this.events.dispatch(Events.PeerEvent.Updated, this);
Expand Down

0 comments on commit 995f82f

Please sign in to comment.