From d8b5d0939f641eb76e3b29de50a431f932831221 Mon Sep 17 00:00:00 2001 From: apporc Date: Wed, 3 Jul 2024 16:18:20 +0800 Subject: [PATCH] Fix matured rex balance --- src/pages/earn/index.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/earn/index.svelte b/src/pages/earn/index.svelte index fc0eb5e4..927f92ae 100644 --- a/src/pages/earn/index.svelte +++ b/src/pages/earn/index.svelte @@ -91,7 +91,7 @@ value = $stateREX.value * Number($currentAccount.rex_info.matured_rex) } } - return Asset.fromUnits(value, $systemToken!.symbol) + return Asset.from(value, $systemToken!.symbol) } )