mirror of
https://github.com/Qortal/qortal.git
synced 2025-04-14 23:35:54 +00:00
removed cache orphaning, crowetic and I agree it should have never been added to begin with
This commit is contained in:
parent
1bd6076e33
commit
b2d9d0539e
@ -335,19 +335,6 @@ public class ArbitraryTransaction extends Transaction {
|
||||
public void orphan() throws DataException {
|
||||
// Wrap and delegate payment processing to Payment class.
|
||||
new Payment(this.repository).orphan(arbitraryTransactionData.getSenderPublicKey(), arbitraryTransactionData.getPayments());
|
||||
|
||||
try {
|
||||
ArbitraryResourceData arbitraryResourceData = new ArbitraryResourceData();
|
||||
arbitraryResourceData.service = this.arbitraryTransactionData.getService();
|
||||
arbitraryResourceData.name = this.arbitraryTransactionData.getName();
|
||||
arbitraryResourceData.identifier = this.arbitraryTransactionData.getIdentifier();
|
||||
|
||||
this.repository.getArbitraryRepository().delete(arbitraryResourceData);
|
||||
} catch (DataException e) {
|
||||
throw e;
|
||||
} catch (Exception e ) { // if anything is wrong with the code above, we need to know
|
||||
LOGGER.error(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user