Skip to content

Commit

Permalink
fix(locksmith): using Math.ceil for gas price as well
Browse files Browse the repository at this point in the history
  • Loading branch information
julien51 committed Oct 2, 2024
1 parent 25732c0 commit 1a6e00a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locksmith/src/payment/paymentProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export class PaymentProcessor {
application_fee_amount: !applicationFeeNotSupportedCountries.includes(
account.country?.trim() || ''
)
? pricing.unlockServiceFee + pricing.gasCost
? Math.ceil(pricing.unlockServiceFee + pricing.gasCost)
: undefined,
}
if (connectedCustomer.email) {
Expand Down

0 comments on commit 1a6e00a

Please sign in to comment.