Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #2348

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion actions/executeTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { fetchProgramVersion } from '@hooks/queries/useProgramVersionQuery'
* @param proposal Metadata about the proposal
* @param instruction Instruction that will be executed by the proposal
* @param adjacentTransaction Optional transaction that is sent in the same slot as the proposal instruction.
* @param preExecutionTransactions Optional tansactions that are executed before the proposal instruction
* @param preExecutionTransactions Optional transactions that are executed before the proposal instruction
*/
export const executeTransaction = async (
{ connection, wallet, programId }: RpcContext,
Expand Down
6 changes: 3 additions & 3 deletions hub/types/Result.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export enum Status {
/**
* The Result has completed, but an error has occured
* The Result has completed, but an error has occurred
*/
Failed,
/**
Expand All @@ -18,12 +18,12 @@ export enum Status {
}

/**
* The Result has completed, but an error has occured
* The Result has completed, but an error has occurred
*/
export interface Failed<E extends Error> {
_tag: Status.Failed;
/**
* The error that has occured
* The error that has occurred
*/
error: E;
}
Expand Down