forked from Qortal/qortal
Fixed bug causing incorrect creation dates in the cache.
This commit is contained in:
parent
23d211836f
commit
5c7d12f25e
@ -390,8 +390,8 @@ public class ArbitraryTransaction extends Transaction {
|
||||
|
||||
// Check for existing cached data
|
||||
if (existingArbitraryResourceData == null) {
|
||||
// Nothing exists yet, so set everything from the newest transaction
|
||||
arbitraryResourceData.created = latestTransactionData.getTimestamp();
|
||||
// Nothing exists yet, so set creation date from the current transaction (it will be reduced later if needed)
|
||||
arbitraryResourceData.created = arbitraryTransactionData.getTimestamp();
|
||||
arbitraryResourceData.updated = null;
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user