feat: refactor GasFeeStrategy API and bump version to 1.2.2

This commit is contained in:
ysq
2025-09-26 00:07:39 +08:00
parent 54434b7217
commit 2c52306a79
5 changed files with 29 additions and 14 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ async fn main() {
// Remove strategy for SwqosType::Jito on Buy
println!("\n9. Remove strategy for SwqosType::Jito on Buy");
GasFeeStrategy::del(SwqosType::Jito, TradeType::Buy);
GasFeeStrategy::del_all(SwqosType::Jito, TradeType::Buy);
// Print all strategies
println!("\n10. Print all current strategies");