From 658279696e91c31f7bd4bf682d42000270dba4da Mon Sep 17 00:00:00 2001 From: Anthony Laibe <491074+alaibe@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:19:30 +0100 Subject: [PATCH] Revert "fix(@wallet): random failure with building dto" This reverts commit 8abd9c56a1c42af5603210d42fd2290a800bae2f. --- src/app_service/service/wallet_account/dto/balance_dto.nim | 2 +- src/app_service/service/wallet_account/dto/token_dto.nim | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app_service/service/wallet_account/dto/balance_dto.nim b/src/app_service/service/wallet_account/dto/balance_dto.nim index 711f953f39..901f2a6420 100644 --- a/src/app_service/service/wallet_account/dto/balance_dto.nim +++ b/src/app_service/service/wallet_account/dto/balance_dto.nim @@ -2,7 +2,7 @@ import json, strformat, stint, strutils include app_service/common/json_utils -type BalanceDto* = ref object +type BalanceDto* = object rawBalance*: Uint256 balance*: float64 address*: string diff --git a/src/app_service/service/wallet_account/dto/token_dto.nim b/src/app_service/service/wallet_account/dto/token_dto.nim index f25bc28c09..b8080fff13 100644 --- a/src/app_service/service/wallet_account/dto/token_dto.nim +++ b/src/app_service/service/wallet_account/dto/token_dto.nim @@ -7,7 +7,7 @@ include app_service/common/json_utils export balance_dto type - TokenMarketValuesDto* = ref object + TokenMarketValuesDto* = object marketCap*: float64 highDay*: float64 lowDay*: float64 @@ -19,7 +19,7 @@ type hasError*: bool type - WalletTokenDto* = ref object + WalletTokenDto* = object name*: string symbol*: string decimals*: int