forked from Qortal/qortal
Handle case when metadata isn't returned.
This commit is contained in:
parent
146d234dec
commit
4448e2b5df
@ -183,7 +183,9 @@ public class ArbitraryMetadataManager {
|
||||
|
||||
try {
|
||||
ArbitraryDataFile metadataFile = ArbitraryDataFile.fromHash(metadataHash, signature);
|
||||
return metadataFile.getBytes();
|
||||
if (metadataFile.exists()) {
|
||||
return metadataFile.getBytes();
|
||||
}
|
||||
} catch (DataException e) {
|
||||
// Do nothing
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user