3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-12 02:05:50 +00:00

Fixed bug in storage calculation

This commit is contained in:
CalDescent 2021-11-24 14:22:57 +00:00
parent e879bd0fc5
commit 0dd43d5c9a

View File

@ -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;
}