Skip to content

Commit 8a57e99

Browse files
committed
fix: fixed errors in example scripts
1 parent 3131ef8 commit 8a57e99

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/chain_client/5_MessageBroadcasterWithoutSimulation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async def main() -> None:
4646
spot_market_id_create = "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"
4747

4848
spot_orders_to_create = [
49-
composer.composer.spot_order(
49+
composer.spot_order(
5050
market_id=spot_market_id_create,
5151
subaccount_id=subaccount_id,
5252
fee_recipient=fee_recipient,
@@ -55,7 +55,7 @@ async def main() -> None:
5555
order_type="BUY",
5656
cid=str(uuid.uuid4()),
5757
),
58-
composer.composer.spot_order(
58+
composer.spot_order(
5959
market_id=spot_market_id_create,
6060
subaccount_id=subaccount_id,
6161
fee_recipient=fee_recipient,

examples/chain_client/exchange/9_MsgBatchUpdateOrders.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async def main() -> None:
9797
]
9898

9999
spot_orders_to_create = [
100-
composer.composer.spot_order(
100+
composer.spot_order(
101101
market_id=spot_market_id_create,
102102
subaccount_id=subaccount_id,
103103
fee_recipient=fee_recipient,
@@ -106,7 +106,7 @@ async def main() -> None:
106106
order_type="BUY",
107107
cid=str(uuid.uuid4()),
108108
),
109-
composer.composer.spot_order(
109+
composer.spot_order(
110110
market_id=spot_market_id_create,
111111
subaccount_id=subaccount_id,
112112
fee_recipient=fee_recipient,

0 commit comments

Comments
 (0)