Skip to content

Commit

Permalink
emergency patch: stop using modified mangolana due to unsolved bug af…
Browse files Browse the repository at this point in the history
…fecting HNT dao (#1787)
  • Loading branch information
asktree authored Aug 22, 2023
1 parent c696a79 commit c939ba2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions utils/sendTransactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import {

import { invalidateInstructionAccounts } from '@hooks/queries/queryClient'
import {
sendSignAndConfirmTransactions,
sendSignAndConfirmTransactionsProps,
} from './modifiedMangolana'
sendSignAndConfirmTransactions,
} from '@blockworks-foundation/mangolana/lib/transactions'

export type WalletSigner = Pick<
SignerWalletAdapter,
Expand Down Expand Up @@ -39,8 +39,9 @@ export const sendTransactionsV3 = ({
timeoutStrategy,
callbacks,
config,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
lookupTableAccounts,
}: sendSignAndConfirmTransactionsProps) => {
}: sendSignAndConfirmTransactionsProps & { lookupTableAccounts: any }) => {
const callbacksWithUiComponent = {
afterBatchSign: (signedTxnsCount) => {
if (callbacks?.afterBatchSign) {
Expand Down Expand Up @@ -107,7 +108,7 @@ export const sendTransactionsV3 = ({
callbacks: callbacksWithUiComponent,
config: cfg,
confirmLevel: 'confirmed', //TODO base this on connection confirmation level
lookupTableAccounts,
//lookupTableAccounts,
})
}

Expand Down

0 comments on commit c939ba2

Please sign in to comment.