Skip to content

Commit

Permalink
removed sort from sequence range test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Kuroda committed Jan 17, 2025
1 parent aff7f6d commit 2cb2981
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ironfish/src/rpc/routes/wallet/getAccountTransactions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ describe('Route wallet/getAccountTransactions', () => {
block3.transactions[0].hash(),
]
const accountTransactions = await AsyncUtils.materialize(response.contentStream())
const accountTransactionHashes = accountTransactions
.map(({ hash }) => Buffer.from(hash, 'hex'))
.sort()
const accountTransactionHashes = accountTransactions.map(({ hash }) =>
Buffer.from(hash, 'hex'),
)

expect(accountTransactionHashes).toEqual(blockTransactionHashes)
})
Expand Down

0 comments on commit 2cb2981

Please sign in to comment.