From dcb0681792efaf0e549000a4992670795370967b Mon Sep 17 00:00:00 2001 From: Bill He Date: Fri, 8 Sep 2023 11:41:58 -0700 Subject: [PATCH] Fix Auto Deposit --- src/hooks/useSubaccount.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useSubaccount.tsx b/src/hooks/useSubaccount.tsx index 64321dd..92a66df 100644 --- a/src/hooks/useSubaccount.tsx +++ b/src/hooks/useSubaccount.tsx @@ -100,7 +100,7 @@ export const useSubaccountContext = ({ localDydxWallet }: { localDydxWallet?: Lo subaccountClient: SubaccountClient; assetId?: number; amount: Long; - }) => await compositeClient?.validatorClient.post.deposit(subaccountClient, assetId, amount), + }) => await compositeClient?.validatorClient.post.deposit(subaccountClient, assetId, amount, false), withdrawFromSubaccount: async ({ subaccountClient,