Skip to content

Commit 6f1c353

Browse files
make tokenprice var uint256 in postop
1 parent 7d9fb24 commit 6f1c353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/token/BiconomyTokenPaymaster.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -551,10 +551,10 @@ contract BiconomyTokenPaymaster is
551551
address userOpSender,
552552
address tokenAddress,
553553
uint256 prechargedAmount,
554-
uint192 tokenPrice,
554+
uint256 tokenPrice,
555555
uint32 appliedPriceMarkup,
556556
bytes32 userOpHash
557-
) = abi.decode(context, (address, address, uint256, uint192, uint32, bytes32));
557+
) = abi.decode(context, (address, address, uint256, uint256, uint32, bytes32));
558558

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

0 commit comments

Comments
 (0)