Skip to content

Commit

Permalink
Update DistributedTransactionManager.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ghareeb-falazi committed Dec 10, 2024
1 parent 03270b0 commit c06e05a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ private void analyzeBlockchainVote(String blockchainIdentifier, DistributedTrans
rmsc.getSmartContractPath(),
voteEvent.getFunctionIdentifier(),
voteEvent.getOutputs(),
//"txId==\"" + dtxId.toString() + "\"",
"1==1",
null,
null);
Occurrence occurrence = result.getOccurrences().stream().filter(o -> o.getParameters().get(1).getValue().equals(dtx.toString())).max((Comparator.comparing(Occurrence::getTimestampObject))).orElse(null);
handleVoteEvent(occurrence, dtx, blockchainCount, callbackUrl);
Expand Down

0 comments on commit c06e05a

Please sign in to comment.