Skip to content

Commit

Permalink
make tokenprice var uint256 in postop
Browse files Browse the repository at this point in the history
  • Loading branch information
livingrockrises committed Nov 18, 2024
1 parent 7d9fb24 commit 6f1c353
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/token/BiconomyTokenPaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,10 @@ contract BiconomyTokenPaymaster is
address userOpSender,
address tokenAddress,
uint256 prechargedAmount,
uint192 tokenPrice,
uint256 tokenPrice,
uint32 appliedPriceMarkup,
bytes32 userOpHash
) = abi.decode(context, (address, address, uint256, uint192, uint32, bytes32));
) = abi.decode(context, (address, address, uint256, uint256, uint32, bytes32));

// Calculate the actual cost in tokens based on the actual gas cost and the token price
uint256 actualTokenAmount = (
Expand Down

0 comments on commit 6f1c353

Please sign in to comment.