diff --git a/src/lib.rs b/src/lib.rs index 8ee9323..afa67c5 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -281,6 +281,7 @@ impl PumpFun { buy_sol_cost: u64, slippage_basis_points: Option, recent_blockhash: Hash, + bonding_curve: Option>, ) -> Result<(), anyhow::Error> { pumpfun::buy::buy_with_tip( self.fee_clients.clone(), @@ -292,7 +293,7 @@ impl PumpFun { self.priority_fee.clone(), self.cluster.clone().lookup_table_key, recent_blockhash, - None, + bonding_curve, SNIPER_BUY.to_string(), ).await }