From dff089e0dd11efcf6ce04e345976f75a63392ceb Mon Sep 17 00:00:00 2001 From: Brooks Prumo Date: Tue, 17 May 2022 12:44:43 -0500 Subject: [PATCH] Fix RpcResponseContext in rpc_client test (#25296) --- client/src/rpc_client.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/rpc_client.rs b/client/src/rpc_client.rs index 67d71a39cc287e..fa249dc1b79104 100644 --- a/client/src/rpc_client.rs +++ b/client/src/rpc_client.rs @@ -4335,7 +4335,10 @@ mod tests { ReturnDataEncoding::Base64, ); serde_json::to_value(Response { - context: RpcResponseContext { slot: 1 }, + context: RpcResponseContext { + slot: 1, + api_version: None, + }, value: RpcSimulateTransactionResult { err: None, logs: None,