Skip to content

Commit

Permalink
Remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSamWitch committed Jan 30, 2024
1 parent 8493743 commit aa559ff
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions contracts/SamWitchOrderBook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import {BokkyPooBahsRedBlackTreeLibrary} from "./BokkyPooBahsRedBlackTreeLibrary
import {IBrushToken} from "./interfaces/IBrushToken.sol";
import {ISamWitchOrderBook} from "./interfaces/ISamWitchOrderBook.sol";

import "hardhat/console.sol";

/// @title SamWitchOrderBook (SWOB)
/// @author Sam Witch (PaintSwap & Estfor Kingdom)
/// @author 0xDoubleSharp
Expand Down Expand Up @@ -806,7 +804,6 @@ contract SamWitchOrderBook is ISamWitchOrderBook, ERC1155Holder, UUPSUpgradeable
// Loop until we find a suitable place to put this
while (true) {
price_ = uint72(uint128(int72(price_) + _tickIncrement));
console.log(price_);
if (!_tree.exists(price_)) {
_tree.insert(price_);
break;
Expand All @@ -819,8 +816,7 @@ contract SamWitchOrderBook is ISamWitchOrderBook, ERC1155Holder, UUPSUpgradeable
) ==
0
) {
// There are orders left or the last segment is not filled yet
console.log("WHAT");
// There are segments available at this price level or the last segment is not filled yet
break;
}
}
Expand Down

0 comments on commit aa559ff

Please sign in to comment.