diff --git a/README.md b/README.md index dd3584a..6047403 100644 --- a/README.md +++ b/README.md @@ -530,7 +530,7 @@ Gupax itself uses around 100-300 megabytes of memory. Gupax also holds up to [500,000 bytes](https://github.com/hinto-janaiyo/gupax/blob/2b80aa027728ddd193bac2e77caa5ddb4323f8fd/src/helper.rs#L63) of log data from `P2Pool/XMRig` to display in the GUI terminals. These logs are reset once over capacity which takes around 1-2 hours. -Memory usage should *never* be above 400~ megabytes. If you see Gupax using more than this, please send a bug report. +Memory usage should *never* be above 500~ megabytes. If you see Gupax using more than this, please send a bug report. --- diff --git a/src/helper.rs b/src/helper.rs index cd4bd71..82b2e25 100644 --- a/src/helper.rs +++ b/src/helper.rs @@ -1406,8 +1406,8 @@ impl PubP2poolApi { // Total XMR let per_sec = xmr / elapsed_as_secs_f64; let xmr_hour = (per_sec * 60.0) * 60.0; - let xmr_day = payouts_hour * 24.0; - let xmr_month = payouts_day * 30.0; + let xmr_day = xmr_hour * 24.0; + let xmr_month = xmr_day * 30.0; // 6. Mutate the struct with the new info let mut public = public.lock().unwrap();