From ec720155244ba01b243b6c2dd2988a7c5eb0bf39 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Fri, 13 Oct 2023 15:06:08 -0500 Subject: [PATCH] Correct ZEC calculation --- src/ZGoBackend.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZGoBackend.hs b/src/ZGoBackend.hs index e590bbe..2a332d0 100644 --- a/src/ZGoBackend.hs +++ b/src/ZGoBackend.hs @@ -2003,7 +2003,7 @@ scanTxNative config pipe = do Just $ ZcashTx (rt_id t) - (fromIntegral (a_value n) * 0.00000001) + (fromIntegral (a_value n) / 100000000) (toInteger $ a_value n) (rt_blockheight t) (rt_blocktime t)