Skip to content

Commit 2f65836

Browse files
buffalojoecsteveluscher
authored andcommitted
refactor(experimental): type reconciliation: isBlockhashValidApi
1 parent 8537343 commit 2f65836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/rpc-api/src/isBlockhashValid.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { RpcApiMethods } from '@solana/rpc-spec';
22
import type { Blockhash, Commitment, Slot, SolanaRpcResponse } from '@solana/rpc-types';
33

4-
type IsBlockhashValidApiResponse = SolanaRpcResponse<boolean>;
4+
type IsBlockhashValidApiResponse = boolean;
55

66
export interface IsBlockhashValidApi extends RpcApiMethods {
77
/**
@@ -16,5 +16,5 @@ export interface IsBlockhashValidApi extends RpcApiMethods {
1616
/** The minimum slot that the request can be evaluated at */
1717
minContextSlot?: Slot;
1818
}>,
19-
): IsBlockhashValidApiResponse;
19+
): SolanaRpcResponse<IsBlockhashValidApiResponse>;
2020
}

0 commit comments

Comments
 (0)