Skip to content

Commit

Permalink
Update data/txHandler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Paulos <[email protected]>
  • Loading branch information
algorandskiy and jasonpaulos committed Aug 1, 2024
1 parent 10bfe53 commit 6a6f276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/txHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ func decodeMsg(data []byte) (unverifiedTxGroup []transactions.SignedTxn, consume
return unverifiedTxGroup, consumed, false
}

// incomingTxGroupDupRateLimit checks if the incoming transaction group has been seen before after reencoding to canonical representation.
// incomingTxGroupCanonicalDedup checks if the incoming transaction group has been seen before after reencoding to canonical representation.
// It also return canonical representation of the transaction group allowing the caller to compare it with the input.
func (handler *TxHandler) incomingTxGroupCanonicalDedup(unverifiedTxGroup []transactions.SignedTxn, encodedExpectedSize int) (*crypto.Digest, []byte, bool) {
var canonicalKey *crypto.Digest
Expand Down

0 comments on commit 6a6f276

Please sign in to comment.