forked from Qortal/qortal
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…
Reference in New Issue
Block a user