update readme

This commit is contained in:
wood
2025-07-10 23:27:40 +08:00
parent 42952dfc8b
commit 36b25c1fbe
5 changed files with 220 additions and 109 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ pub async fn init_bonding_curve_account(
dev_sol_cost: u64,
creator: Pubkey,
) -> Result<Arc<BondingCurveAccount>, anyhow::Error> {
let bonding_curve = BondingCurveAccount::new(mint, dev_buy_token, dev_sol_cost, creator);
let bonding_curve = BondingCurveAccount::from_dev_trade(mint, dev_buy_token, dev_sol_cost, creator);
let bonding_curve = Arc::new(bonding_curve);
Ok(bonding_curve)
}