Perp market maker no longer tries to run Consume Events.

This commit is contained in:
Geoff Taylor 2021-07-19 16:40:47 +01:00
parent c5cd5ca095
commit 605f3bd1e2
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ class PerpMarketInstructionBuilder(MarketInstructionBuilder):
return CombinableInstructions.empty() return CombinableInstructions.empty()
def build_crank_instructions(self, limit: Decimal = Decimal(32)) -> CombinableInstructions: def build_crank_instructions(self, limit: Decimal = Decimal(32)) -> CombinableInstructions:
return build_mango_consume_events_instructions(self.context, self.wallet, self.group, self.account, self.perp_market, limit) return CombinableInstructions.empty()
# return build_mango_consume_events_instructions(self.context, self.wallet, self.group, self.account, self.perp_market, limit)
def __str__(self) -> str: def __str__(self) -> str:
return """« 𝙿𝚎𝚛𝚙𝙼𝚊𝚛𝚔𝚎𝚝𝙸𝚗𝚜𝚝𝚛𝚞𝚌𝚝𝚒𝚘𝚗𝚜 »""" return """« 𝙿𝚎𝚛𝚙𝙼𝚊𝚛𝚔𝚎𝚝𝙸𝚗𝚜𝚝𝚛𝚞𝚌𝚝𝚒𝚘𝚗𝚜 »"""