Skip to content
This repository has been archived by the owner on Feb 9, 2025. It is now read-only.

chore: fix some comments #2348

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
@@ -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,
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,
/**
@@ -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;
}