mesh: remove unused MsgSyncRequest/MsgSyncReply types
Fuck em. Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I725b137678112580cd7445a8d12f52f56a6a6964
This commit is contained in:
parent
4b2c863bc1
commit
e567491856
3 changed files with 4 additions and 6 deletions
|
|
@ -60,7 +60,7 @@ func TestAnnounceAndReceive(t *testing.T) {
|
|||
func TestRejectUnknownSender(t *testing.T) {
|
||||
store := mesh.NewRouteStore()
|
||||
|
||||
// Listener node — will reject messages not from trusted
|
||||
// Listener node, this'll reject messages not from trusted
|
||||
trusted, err := mesh.NewNode("", nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
@ -90,7 +90,7 @@ func TestRejectUnknownSender(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestRejectTamperedMessage(t *testing.T) {
|
||||
// This is covered by TestVerifyFailsOnTamper in mesh_test.go at the crypto level.
|
||||
// This is covered by TestVerifyFailsOnTamper the mesh tests on the crypto level.
|
||||
// Here we verify the full pipeline rejects a re-signed-but-tampered body.
|
||||
store := mesh.NewRouteStore()
|
||||
node, err := mesh.NewNode("", store)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue