forked from Qortal/qortal
Only rebuild if transaction has a name.
This commit is contained in:
parent
7d38fa909d
commit
cf0681d7df
@ -243,6 +243,8 @@ public class ArbitraryTransaction extends Transaction {
|
|||||||
@Override
|
@Override
|
||||||
public void preProcess() throws DataException {
|
public void preProcess() throws DataException {
|
||||||
ArbitraryTransactionData arbitraryTransactionData = (ArbitraryTransactionData) transactionData;
|
ArbitraryTransactionData arbitraryTransactionData = (ArbitraryTransactionData) transactionData;
|
||||||
|
if (arbitraryTransactionData.getName() == null)
|
||||||
|
return;
|
||||||
|
|
||||||
// Rebuild this name in the Names table from the transaction history
|
// Rebuild this name in the Names table from the transaction history
|
||||||
// This is necessary because in some rare cases names can be missing from the Names table after registration
|
// This is necessary because in some rare cases names can be missing from the Names table after registration
|
||||||
|
Loading…
Reference in New Issue
Block a user