Skip to content

Commit

Permalink
rename id variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Tburm committed Jun 29, 2023
1 parent 5677491 commit 081a06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions markets/perps-market/contracts/modules/AsyncOrderModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ contract AsyncOrderModule is IAsyncOrderModule {
}

function settlePythOrder(bytes calldata result, bytes calldata extraData) external payable {
(uint128 marketId, uint128 asyncOrderId) = abi.decode(extraData, (uint128, uint128));
(uint128 marketId, uint128 accountId) = abi.decode(extraData, (uint128, uint128));
(
AsyncOrder.Data storage order,
SettlementStrategy.Data storage settlementStrategy
) = _performOrderValidityChecks(marketId, asyncOrderId);
) = _performOrderValidityChecks(marketId, accountId);

bytes32[] memory priceIds = new bytes32[](1);
priceIds[0] = settlementStrategy.feedId;
Expand Down

0 comments on commit 081a06f

Please sign in to comment.