Skip to content

Commit

Permalink
Update src/clients/BundleDataClient/BundleDataClient.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Paul <[email protected]>
  • Loading branch information
bmzig and pxrl authored Mar 3, 2025
1 parent 5aac9d3 commit fa658be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/BundleDataClient/BundleDataClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ export class BundleDataClient {
return BigNumber.from(0);
}
const allRefunds = bundleRefunds[chainId][token.toString()];
return allRefunds && allRefunds[relayer.toString()] ? allRefunds[relayer.toString()] : BigNumber.from(0);
return allRefunds && allRefunds[relayer.toString()] ? allRefunds[relayer.toString()] : bnZero;
}

getTotalRefund(refunds: CombinedRefunds[], relayer: Address, chainId: number, refundToken: Address): BigNumber {
Expand Down

0 comments on commit fa658be

Please sign in to comment.