mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
node: Add support for multiple address types
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -108,7 +108,7 @@ fn test_handshake_invalid_timestamp() {
|
||||
alice.connected(bob.addr(), &local, Link::Inbound);
|
||||
alice.receive(
|
||||
&bob.addr(),
|
||||
Message::hello(alice.timestamp() - time_delta, bob.git_url()),
|
||||
Message::hello(alice.timestamp() - time_delta, vec![], bob.git_url()),
|
||||
);
|
||||
assert_matches!(alice.outbox().next(), Some(Io::Disconnect(addr, _)) if addr == bob.addr());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user