Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfadam authored Apr 16, 2024
1 parent 291d7b6 commit 36ac5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/posts/Wormhole DoS p2p/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Here are some videos PoC with 4 Guardians, and the attack started from a Spy:
### Conclusion
The issue was fixed in [PR3873](https://github.com/wormhole-foundation/wormhole/pull/3873).
When receiving a *Heartbeat*, the code now ensures that the **PeerId** of the p2p message matches the p2p of the Guardian who generated the *Heartbeat*.
When receiving a *Heartbeat*, the code now ensures that the **PeerId** of the p2p message matches the **PeerId** of the Guardian who generated the *Heartbeat*.
```golang
// Don't accept replayed heartbeats from other peers
signedPeer, err := peer.IDFromBytes(h.P2PNodeId)
Expand Down

0 comments on commit 36ac5d3

Please sign in to comment.