Skip to content

Commit

Permalink
ALL-5473 - Changed solana confirmation number updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Hathoriel committed Mar 12, 2024
1 parent 2c9ef1a commit 59eefa8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tatumio",
"version": "2.2.60",
"version": "2.2.61",
"license": "MIT",
"repository": "https://github.com/tatumio/tatum-js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions packages/blockchain/solana/src/lib/services/solana.utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Connection, PublicKey, Signer, Transaction } from '@solana/web3.js'
import {
BurnNftSolana,
ChainDeploySolanaSpl,
Expand All @@ -11,10 +12,9 @@ import {
} from '@tatumio/api-client'
import { SdkErrorCode, WithoutChain } from '@tatumio/shared-abstract-sdk'
import { FromPrivateKeyOrSignatureId } from '@tatumio/shared-blockchain-abstract'
import { Connection, PublicKey, Signer, Transaction } from '@solana/web3.js'
import { SolanaWeb3 } from './solana.web3'
import { SolanaSdkError } from '../solana.sdk.errors'
import BN from 'bn.js'
import { SolanaSdkError } from '../solana.sdk.errors'
import { SolanaWeb3 } from './solana.web3'
// @ts-ignore
import { encode } from 'base-58'
import _ from 'lodash'
Expand Down Expand Up @@ -109,7 +109,7 @@ export const solanaUtils = {
})
},
sendTransactionWithConfirm: async (connection: Connection, transaction: Transaction, signers: Signer[]) => {
const attempts = 11
const attempts = 9
const txId = await connection.sendTransaction(transaction, signers)
let confirmedTx
for (let attempt = 1; attempt <= attempts; attempt++) {
Expand Down

0 comments on commit 59eefa8

Please sign in to comment.