From 7d5b1cf97ea28deab46d3cee273d987790843ad5 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Thu, 16 Nov 2023 04:24:52 +0800 Subject: [PATCH] Add missing implementation --- connection-cache/src/connection_cache.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/connection-cache/src/connection_cache.rs b/connection-cache/src/connection_cache.rs index b85d0408128908..c7bb12c0ad2498 100644 --- a/connection-cache/src/connection_cache.rs +++ b/connection-cache/src/connection_cache.rs @@ -647,6 +647,10 @@ mod tests { fn new_connection_config(&self) -> Self::NewConnectionConfig { MockUdpConfig::new().unwrap() } + + fn update_key(&mut self, _key: &Keypair) -> Result<(), Box> { + Ok(()) + } } impl BlockingClientConnection for MockUdpConnection {