Skip to content

Commit

Permalink
Update packages/xrpl/src/models/transactions/common.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Omar Khan <khancodegt@gmail.com>
  • Loading branch information
achowdhry-ripple and khancode authored Dec 20, 2024
1 parent 1812f61 commit 730b57e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/xrpl/src/models/transactions/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,5 @@ export function validateCredentialsList(

function containsDuplicates(objectList: object[]): boolean {
const objSet = new Set(objectList.map((obj) => JSON.stringify(obj)))
if (objSet.size !== objectList.length) {
return true
}

return false
return objSet.size !== objectList.length
}

0 comments on commit 730b57e

Please sign in to comment.