Use `ppfmt()` in `order_mode` since it's provided by `tractor` now
parent
9010f9c7ab
commit
f2ace1b63b
|
|
@ -34,6 +34,7 @@ import uuid
|
|||
|
||||
from bidict import bidict
|
||||
import tractor
|
||||
from tractor.devx.pformat import ppfmt
|
||||
import trio
|
||||
|
||||
from piker import config
|
||||
|
|
@ -1207,11 +1208,10 @@ async def process_trade_msg(
|
|||
f'\n'
|
||||
f'=> CANCELLING ORDER DIALOG <=\n'
|
||||
|
||||
# from tractor.devx.pformat import ppfmt
|
||||
# !TODO LOL, wtf the msg is causing
|
||||
# a recursion bug!
|
||||
# -[ ] get this shit on msgspec stat!
|
||||
# f'{ppfmt(broker_msg)}'
|
||||
f'{ppfmt(broker_msg)}'
|
||||
)
|
||||
# do all the things for a cancel:
|
||||
# - drop order-msg dialog from client table
|
||||
|
|
|
|||
Loading…
Reference in New Issue