Removed TODO comments that are now done.

This commit is contained in:
CalDescent 2021-07-04 09:41:53 +01:00
parent 49eddc9da5
commit 7af973b60d

View File

@ -124,7 +124,6 @@ public class ArbitraryTransaction extends Transaction {
}
// Wrap and delegate final payment validity checks to Payment class
// TODO: we won't be able to do this if we are on the data chain where fees may start as zero
return new Payment(this.repository).isValid(arbitraryTransactionData.getSenderPublicKey(), arbitraryTransactionData.getPayments(),
arbitraryTransactionData.getFee());
}
@ -168,7 +167,6 @@ public class ArbitraryTransaction extends Transaction {
@Override
public ValidationResult isProcessable() throws DataException {
// Wrap and delegate final payment processable checks to Payment class
// TODO: we won't be able to do this if we are on the data chain where fees may start as zero
return new Payment(this.repository).isProcessable(arbitraryTransactionData.getSenderPublicKey(), arbitraryTransactionData.getPayments(),
arbitraryTransactionData.getFee());
}