Skip to content

Commit 71e5caf

Browse files
Ioan PopescuIoan Popescu
authored andcommitted
use List instead of list for python3.8 support
1 parent 1a7bdae commit 71e5caf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lighter/signer_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import logging
77
import os
88
import time
9-
from typing import Dict, Optional, Tuple
9+
from typing import Dict, List, Optional, Tuple
1010

1111
from eth_account import Account
1212
from eth_account.messages import encode_defunct
@@ -375,7 +375,7 @@ def sign_create_order(
375375
def sign_create_grouped_orders(
376376
self,
377377
grouping_type: int,
378-
orders: list[CreateOrderTxReq],
378+
orders: List[CreateOrderTxReq],
379379
nonce=-1,
380380
):
381381
arr_type = CreateOrderTxReq * len(orders)
@@ -638,7 +638,7 @@ async def create_order(
638638
async def create_grouped_orders(
639639
self,
640640
grouping_type: int,
641-
orders: list[CreateOrderTxReq],
641+
orders: List[CreateOrderTxReq],
642642
nonce=-1,
643643
api_key_index=-1,
644644
) -> (CreateGroupedOrders, TxHash, str):

0 commit comments

Comments
 (0)