Fix RpcResponseContext in rpc_client test (#25296)

This commit is contained in:
Brooks Prumo 2022-05-17 12:44:43 -05:00 committed by GitHub
parent e608580040
commit dff089e0dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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,