Skip to content

Commit

Permalink
Merge branch 'dev' into popzxc-release-02-02
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Feb 2, 2021
2 parents 5f88680 + 66ee302 commit 5ecc081
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelog/infrastructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ components, the logs will have the following format:
- (`explorer`): Bug with not displaying old blocks was fixed.
- (`explorer`): Bug with updating transaction data after searching another transaction was fixed.
- (`explorer`): Fixed processing of transactions with different prefixes.
- (`explorer`): bug with not displaying some deposits and withdrawals for the accounts was fixed by not taking account
address case into account.

## Release 2021-01-12

Expand Down
4 changes: 2 additions & 2 deletions infrastructure/explorer/src/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ export class Client {
const transactions = rawTransactions.filter((tx) => {
const type = tx.tx.type || '';
if (type == 'Deposit') {
return tx.tx.priority_op.to == address;
return tx.tx.priority_op.to.toLowerCase() == address.toLowerCase();
} else if (type == 'Withdraw') {
return tx.tx.from == address;
return tx.tx.from.toLowerCase() == address.toLowerCase();
} else return true;
});
const res = transactions.map(async (tx) => {
Expand Down

0 comments on commit 5ecc081

Please sign in to comment.