forked from Qortal/qortal
Fixed bug introduced in recent commit.
This commit is contained in:
parent
6407b5452b
commit
bb5b62466e
@ -100,7 +100,7 @@ public class WebsiteResource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String base58Digest = dataFile.base58Digest();
|
String base58Digest = dataFile.base58Digest();
|
||||||
if (base58Digest != null) {
|
if (base58Digest == null) {
|
||||||
LOGGER.error("Unable to calculate digest");
|
LOGGER.error("Unable to calculate digest");
|
||||||
throw ApiExceptionFactory.INSTANCE.createException(request, ApiError.INVALID_DATA);
|
throw ApiExceptionFactory.INSTANCE.createException(request, ApiError.INVALID_DATA);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user