Skip to content

Commit

Permalink
Fix RpcResponseContext in rpc_client test (#25296)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored May 17, 2022
1 parent e608580 commit dff089e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/rpc_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dff089e

Please sign in to comment.