Skip to content

Commit e46b4ab

Browse files
committed
cleanup
1 parent 3ff9f01 commit e46b4ab

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

markets/perps-market/contracts/modules/PerpsAccountModule.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ contract PerpsAccountModule is IPerpsAccountModule {
9494

9595
// 1. call depositMarketUsd and deposit amount directly to core system
9696
// 2. look up account and reduce debt by amount
97-
// 3. transfer synth to sender
9897
// 3b. quoteUnwrap() -> inchQuote -> returnAmount
9998
function payDebt(uint128 accountId, uint256 amount) external override {
10099
Account.exists(accountId);

markets/spot-market/test/SpotMarketFactory.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ describe('SpotMarketFactory', () => {
144144
.indexPrice(marketId(), 1, 0); // buy feed
145145
const sellPrice = await systems()
146146
.SpotMarket.connect(marketOwner)
147-
.indexPrice(marketId(), 2, 0); // buy feed
147+
.indexPrice(marketId(), 2, 0); // sell feed
148148

149149
assertBn.equal(buyPrice, 100);
150150
assertBn.equal(sellPrice, 200);

0 commit comments

Comments
 (0)