Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
  • Loading branch information
netopyr committed Apr 19, 2023
1 parent 60692a7 commit 50ee63f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ public void validateQueryPaymentTransfers(@NonNull final TransactionBody txBody,

@Override
public void nodePaymentValidity(
@NonNull final List<AccountAmount> transfers,
long queryFee,
@NonNull final AccountID node) throws InsufficientBalanceException {
@NonNull final List<AccountAmount> transfers, long queryFee, @NonNull final AccountID node)
throws InsufficientBalanceException {
requireNonNull(transfers, "The supplied argument 'transfers' cannot be null!");
requireNonNull(node, "The supplied argument 'node' cannot be null!");
final var monoNode = PbjConverter.fromPbj(node);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public interface QueryFeeCheck {
* @param queryFee transaction fee
* @throws InsufficientBalanceException if the transaction is invalid
*/
void validateQueryPaymentTransfers(@NonNull TransactionBody txBody, long queryFee) throws InsufficientBalanceException;
void validateQueryPaymentTransfers(@NonNull TransactionBody txBody, long queryFee)
throws InsufficientBalanceException;

/**
* Validates node payment transfer transaction before reaching consensus. Validate each payer has enough balance.
Expand Down

0 comments on commit 50ee63f

Please sign in to comment.