forked from Qortal/qortal
Fixed loading bug when a transaction's data size is smaller than the chunk size.
This commit is contained in:
parent
e50fd786da
commit
b861b2dffb
@ -282,7 +282,7 @@ public class ArbitraryDataReader {
|
||||
// Load data file(s)
|
||||
ArbitraryDataFile arbitraryDataFile = ArbitraryDataFile.fromHash(digest);
|
||||
if (!arbitraryDataFile.exists()) {
|
||||
if (!arbitraryDataFile.allChunksExist(chunkHashes)) {
|
||||
if (!arbitraryDataFile.allChunksExist(chunkHashes) || chunkHashes == null) {
|
||||
|
||||
// Ask the arbitrary data manager to fetch data for this transaction
|
||||
ArbitraryDataManager.getInstance().fetchDataForSignature(transactionData.getSignature());
|
||||
|
Loading…
Reference in New Issue
Block a user