From 2f65836d2fe41ba71991fe06ace7c91537c31a63 Mon Sep 17 00:00:00 2001 From: Joe Caulfield Date: Fri, 28 Jun 2024 16:12:27 -0500 Subject: [PATCH] refactor(experimental): type reconciliation: `isBlockhashValidApi` --- packages/rpc-api/src/isBlockhashValid.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rpc-api/src/isBlockhashValid.ts b/packages/rpc-api/src/isBlockhashValid.ts index b4108ef38a8f..7eca799ec2c4 100644 --- a/packages/rpc-api/src/isBlockhashValid.ts +++ b/packages/rpc-api/src/isBlockhashValid.ts @@ -1,7 +1,7 @@ import type { RpcApiMethods } from '@solana/rpc-spec'; import type { Blockhash, Commitment, Slot, SolanaRpcResponse } from '@solana/rpc-types'; -type IsBlockhashValidApiResponse = SolanaRpcResponse; +type IsBlockhashValidApiResponse = boolean; export interface IsBlockhashValidApi extends RpcApiMethods { /** @@ -16,5 +16,5 @@ export interface IsBlockhashValidApi extends RpcApiMethods { /** The minimum slot that the request can be evaluated at */ minContextSlot?: Slot; }>, - ): IsBlockhashValidApiResponse; + ): SolanaRpcResponse; }