fix(@wallet): random failure with building dto

fixes #12581
This commit is contained in:
Anthony Laibe 2023-11-08 13:35:30 +01:00
parent 4c99ca3f76
commit 8abd9c56a1
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import json, strformat, stint, strutils
include app_service/common/json_utils include app_service/common/json_utils
type BalanceDto* = object type BalanceDto* = ref object
rawBalance*: Uint256 rawBalance*: Uint256
balance*: float64 balance*: float64
address*: string address*: string

View File

@ -7,7 +7,7 @@ include app_service/common/json_utils
export balance_dto export balance_dto
type type
TokenMarketValuesDto* = object TokenMarketValuesDto* = ref object
marketCap*: float64 marketCap*: float64
highDay*: float64 highDay*: float64
lowDay*: float64 lowDay*: float64
@ -19,7 +19,7 @@ type
hasError*: bool hasError*: bool
type type
WalletTokenDto* = object WalletTokenDto* = ref object
name*: string name*: string
symbol*: string symbol*: string
decimals*: int decimals*: int