Skip to content

Commit

Permalink
Merge pull request #168 from ethpandaops/pk910/fix-duplicate-deposit-…
Browse files Browse the repository at this point in the history
…matching

fix duplicate deposit detection
  • Loading branch information
pk910 authored Nov 5, 2024
2 parents 1366ffe + 4bd61ac commit fd676d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const DepositsTable = (props: IDepositsTableProps): React.ReactElement => {
return {
deposits: json.map((deposit: IDeposit) => {
deposit.validity = verifyDeposit(deposit, signingDomain);
deposit.depositTxs = depositTxs.filter((tx: IDepositTx) => tx.pubkey === deposit.pubkey);
deposit.depositTxs = depositTxs.filter((tx: IDepositTx) => tx.pubkey === "0x" + deposit.pubkey);
return deposit;
}),
loadDepositsErr: loadDepositsErr,
Expand Down

0 comments on commit fd676d4

Please sign in to comment.