mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-25 23:08:05 +00:00
update default fee
This commit is contained in:
+3
-3
@@ -38,8 +38,8 @@ use borsh::BorshDeserialize;
|
|||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
const DEFAULT_SLIPPAGE: u64 = 1000; // 10%
|
const DEFAULT_SLIPPAGE: u64 = 1000; // 10%
|
||||||
const DEFAULT_COMPUTE_UNIT_LIMIT: u32 = 10_000_000;
|
const DEFAULT_COMPUTE_UNIT_LIMIT: u32 = 78000;
|
||||||
const DEFAULT_COMPUTE_UNIT_PRICE: u64 = 500_000;
|
const DEFAULT_COMPUTE_UNIT_PRICE: u64 = 3_500_000;
|
||||||
const JITO_TIP_AMOUNT: u64 = 4123210;
|
const JITO_TIP_AMOUNT: u64 = 4123210;
|
||||||
|
|
||||||
/// Priority fee configuration
|
/// Priority fee configuration
|
||||||
@@ -473,7 +473,7 @@ impl PumpFun {
|
|||||||
system_instruction::transfer(
|
system_instruction::transfer(
|
||||||
&self.payer.pubkey(),
|
&self.payer.pubkey(),
|
||||||
&tip_account,
|
&tip_account,
|
||||||
JITO_TIP_AMOUNT/20,
|
JITO_TIP_AMOUNT/15,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user