diff --git a/src/driftpy/drift_client.py b/src/driftpy/drift_client.py index 971eca0b..60f5c083 100644 --- a/src/driftpy/drift_client.py +++ b/src/driftpy/drift_client.py @@ -209,7 +209,7 @@ async def send_ixs( return await self.program.provider.send(tx) - async def intialize_user(self, sub_account_id: int = 0): + async def initialize_user(self, sub_account_id: int = 0): """intializes a drift user Args: diff --git a/tests/test.py b/tests/test.py index f8ec1abc..faf2958a 100644 --- a/tests/test.py +++ b/tests/test.py @@ -190,7 +190,7 @@ async def test_market( async def test_init_user( drift_client: Admin, ): - await drift_client.intialize_user() + await drift_client.initialize_user() user_public_key = get_user_account_public_key( drift_client.program.program_id, drift_client.authority, 0 ) @@ -405,7 +405,7 @@ async def test_liq_perp( usdc_acc = await _create_and_mint_user_usdc( usdc_mint, drift_client.program.provider, USDC_AMOUNT, liq.pubkey() ) - await liq_drift_client.intialize_user() + await liq_drift_client.initialize_user() await liq_drift_client.add_user(0) await liq_drift_client.deposit( USDC_AMOUNT,