feat: rename TFP to MC currency in dashboard UI and pools functionality
This commit is contained in:
@@ -1628,7 +1628,7 @@ impl DashboardController {
|
||||
let price_per_hour = slice_data.get("price_hour")
|
||||
.and_then(|v| v.as_f64())
|
||||
.map(|p| rust_decimal::Decimal::from_f64_retain(p).unwrap_or(rust_decimal::Decimal::new(50, 2)))
|
||||
.unwrap_or(rust_decimal::Decimal::new(50, 2)); // Fallback to 0.50 TFC/hour only if no price provided
|
||||
.unwrap_or(rust_decimal::Decimal::new(50, 2)); // Fallback to 0.50 MC/hour only if no price provided
|
||||
|
||||
// Load user data to get resource_provider name
|
||||
let user = Self::load_user_with_persistent_data(&session);
|
||||
|
Reference in New Issue
Block a user