removed cache orphaning, crowetic and I agree it should have never been added to begin with

This commit is contained in:
kennycud 2025-04-05 11:42:21 -07:00
parent 1bd6076e33
commit b2d9d0539e

View File

@ -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