Skip to content

Commit

Permalink
CORE-17807: refactor to remove order + sort out comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyang-r3 committed Jan 15, 2024
1 parent 7e41642 commit 1910567
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 320 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,7 @@ class ContractVerifyingNotaryServerFlowImpl() : ResponderFlow {
filteredTransactionsAndSignatures: List<FilteredTransactionAndSignatures>
) {
try {

val dependentStateAndRefs = filteredTransactionsAndSignatures.flatMap { (filteredTransaction, _) ->
require(filteredTransaction.id != initialTransaction.id) {
"Either filtered transaction \"${filteredTransaction.id}\" or " +
"current transaction \"${initialTransaction.id}\" is invalid."
}
(filteredTransaction.outputStateAndRefs as UtxoFilteredData.Audit<StateAndRef<*>>).values.values
}.associateBy { it.ref }

Expand Down
Loading

0 comments on commit 1910567

Please sign in to comment.