@atomiqlabs/chain-solana 7.3.2 → 7.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -448,8 +448,9 @@ class SolanaBtcRelay extends SolanaProgramBase_1.SolanaProgramBase {
448
448
  */
449
449
  getFeePerBlock(feeRate) {
450
450
  return __awaiter(this, void 0, void 0, function* () {
451
- feeRate = feeRate || (yield this.getMainFeeRate(null));
452
- return BASE_FEE_SOL_PER_BLOCKHEADER.add(this.Fees.getPriorityFee(200000, feeRate, false));
451
+ // feeRate = feeRate || await this.getMainFeeRate(null);
452
+ // return BASE_FEE_SOL_PER_BLOCKHEADER.add(this.Fees.getPriorityFee(200000, feeRate, false));
453
+ return new BN(50000);
453
454
  });
454
455
  }
455
456
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/chain-solana",
3
- "version": "7.3.2",
3
+ "version": "7.3.4",
4
4
  "description": "Solana specific base implementation",
5
5
  "main": "./dist/index.js",
6
6
  "types:": "./dist/index.d.ts",
@@ -561,8 +561,9 @@ export class SolanaBtcRelay<B extends BtcBlock> extends SolanaProgramBase<any> i
561
561
  * @param feeRate
562
562
  */
563
563
  public async getFeePerBlock(feeRate?: string): Promise<BN> {
564
- feeRate = feeRate || await this.getMainFeeRate(null);
565
- return BASE_FEE_SOL_PER_BLOCKHEADER.add(this.Fees.getPriorityFee(200000, feeRate, false));
564
+ // feeRate = feeRate || await this.getMainFeeRate(null);
565
+ // return BASE_FEE_SOL_PER_BLOCKHEADER.add(this.Fees.getPriorityFee(200000, feeRate, false));
566
+ return new BN(50000);
566
567
  }
567
568
 
568
569
  /**