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