mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Fixed bug in storage calculation
This commit is contained in:
@@ -296,7 +296,7 @@ public class ArbitraryDataStorageManager extends Thread {
|
||||
return false;
|
||||
}
|
||||
|
||||
long maxStorageCapacity = (long)((double)this.storageCapacity / 100.0f * threshold);
|
||||
long maxStorageCapacity = (long)((double)this.storageCapacity * threshold);
|
||||
if (this.totalDirectorySize >= maxStorageCapacity) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user