more formatting

paper_trade_improvements_rebase
algorandpa 2023-02-14 19:17:23 -05:00 committed by jaredgoldman
parent 362a2b301f
commit f79f0ede5b
2 changed files with 2 additions and 5 deletions

View File

@ -235,10 +235,8 @@ async def open_ems(
not getattr(mod, 'trades_dialogue', None)
or mode == 'paper'
):
mode = 'paper'
mode = 'paper'
from ._ems import _emsd_main
async with (
# connect to emsd
portal.open_context(

View File

@ -1451,8 +1451,7 @@ async def _emsd_main(
) as (relay, feed, client_ready):
brokerd_stream = relay.brokerd_stream
dark_book = _router.get_dark_book(broker)
dark_book = _router.get_dark_book(broker)
# signal to client that we're started and deliver
# all known pps and accounts for this ``brokerd``.
await ems_ctx.started((