mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-22 20:26:50 +00:00
Fixed bug introduced in recent commit.
This commit is contained in:
@@ -100,7 +100,7 @@ public class WebsiteResource {
|
||||
}
|
||||
|
||||
String base58Digest = dataFile.base58Digest();
|
||||
if (base58Digest != null) {
|
||||
if (base58Digest == null) {
|
||||
LOGGER.error("Unable to calculate digest");
|
||||
throw ApiExceptionFactory.INSTANCE.createException(request, ApiError.INVALID_DATA);
|
||||
}
|
||||
|
Reference in New Issue
Block a user