Skip to content

Commit

Permalink
[PaymentGate] When filtering transactions, only add block to results …
Browse files Browse the repository at this point in the history
…if it still has transactions.
  • Loading branch information
mtl1979 committed Mar 12, 2023
1 parent 4723ece commit 214933d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PaymentGate/WalletService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ std::vector<CryptoNote::TransactionsInBlockInfo> filterTransactions(
}
}

if (!block.transactions.empty()) {
if (!item.transactions.empty()) {
result.push_back(std::move(item));
}
}
Expand Down

0 comments on commit 214933d

Please sign in to comment.