forked from Qortal/qortal
Remove missed, extraneous last-reference check from CreateAssetOrderTransaction.isValid()
This commit is contained in:
parent
1e9a7ac87d
commit
c2a3c1271c
@ -2,7 +2,6 @@ package org.qortal.transaction;
|
|||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.qortal.account.Account;
|
import org.qortal.account.Account;
|
||||||
@ -173,10 +172,6 @@ public class CreateAssetOrderTransaction extends Transaction {
|
|||||||
return ValidationResult.NO_BALANCE;
|
return ValidationResult.NO_BALANCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check reference is correct
|
|
||||||
if (!Arrays.equals(creator.getLastReference(), createOrderTransactionData.getReference()))
|
|
||||||
return ValidationResult.INVALID_REFERENCE;
|
|
||||||
|
|
||||||
return ValidationResult.OK;
|
return ValidationResult.OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user